aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-meeting-model.c
diff options
context:
space:
mode:
authorHans Petter Jansson <hpj@ximian.com>2003-01-24 05:56:10 +0800
committerHans Petter <hansp@src.gnome.org>2003-01-24 05:56:10 +0800
commitc5152171a104a8607952c07bfd99d434970eb80a (patch)
tree2bd32897e762130d89c8a2706a9c80aa65411b70 /calendar/gui/e-meeting-model.c
parent3cef144c507b7b51a02df43b7aea7499fa91924c (diff)
downloadgsoc2013-evolution-c5152171a104a8607952c07bfd99d434970eb80a.tar.gz
gsoc2013-evolution-c5152171a104a8607952c07bfd99d434970eb80a.tar.zst
gsoc2013-evolution-c5152171a104a8607952c07bfd99d434970eb80a.zip
Fixes some trivial, but distracting, warnings.
2003-01-23 Hans Petter Jansson <hpj@ximian.com> Fixes some trivial, but distracting, warnings. * gui/calendar-config.c (on_timezone_set): Fix constness. * gui/e-timezone-entry.c (on_button_clicked): Fix constness. * gui/dialogs/event-page.c (contacts_changed_cb): Fix constness. * gui/dialogs/task-page.c (contacts_changed_cb): Fix constness. * gui/e-itip-control.c (start_default_server): Cast callback with G_CALLBACK (). * gui/dialogs/schedule-page.c (init_widgets): Cast callback with G_CALLBACK (). * gui/calendar-offline-handler.c (impl_dispose): Takes GObject, not GtkObject. (impl_finalize): Ditto. * gui/calendar-view.c (calendar_view_edit): Now takes parent window as second arg. * gui/e-meeting-model.c (select_names_ok_cb): Fix constness. (get_select_name_dialog): Cast callback to BonoboListenerCallbackFn. * gui/e-meeting-time-sel.c (e_meeting_time_selector_options_menu_position_callback): Add the push_in arg to arg list. This was crash-prone before. (e_meeting_time_selector_autopick_menu_position_callback): Ditto. * gui/alarm-notify/alarm-notify-dialog.c: Include e-unicode.h. svn path=/trunk/; revision=19605
Diffstat (limited to 'calendar/gui/e-meeting-model.c')
-rw-r--r--calendar/gui/e-meeting-model.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/calendar/gui/e-meeting-model.c b/calendar/gui/e-meeting-model.c
index 0dde3a6850..9e8969ef17 100644
--- a/calendar/gui/e-meeting-model.c
+++ b/calendar/gui/e-meeting-model.c
@@ -122,8 +122,8 @@ static gboolean refresh_busy_periods (gpointer data);
static void attendee_changed_cb (EMeetingAttendee *ia, gpointer data);
static void select_names_ok_cb (BonoboListener *listener,
- char *event_name,
- CORBA_any *arg,
+ const char *event_name,
+ const CORBA_any *arg,
CORBA_Environment *ev,
gpointer data);
@@ -1705,7 +1705,7 @@ get_select_name_dialog (EMeetingModel *im)
add_section (priv->corba_select_names, sections[i]);
bonobo_event_source_client_add_listener (priv->corba_select_names,
- select_names_ok_cb,
+ (BonoboListenerCallbackFn) select_names_ok_cb,
"GNOME/Evolution:ok:dialog",
NULL, im);
@@ -1767,8 +1767,8 @@ process_section (EMeetingModel *im, EDestination **destv, icalparameter_role rol
static void
select_names_ok_cb (BonoboListener *listener,
- char *event_name,
- CORBA_any *arg,
+ const char *event_name,
+ const CORBA_any *arg,
CORBA_Environment *ev,
gpointer data)
{