diff options
author | Hans Petter Jansson <hpj@ximian.com> | 2003-01-24 05:56:10 +0800 |
---|---|---|
committer | Hans Petter <hansp@src.gnome.org> | 2003-01-24 05:56:10 +0800 |
commit | c5152171a104a8607952c07bfd99d434970eb80a (patch) | |
tree | 2bd32897e762130d89c8a2706a9c80aa65411b70 /calendar/gui/dialogs | |
parent | 3cef144c507b7b51a02df43b7aea7499fa91924c (diff) | |
download | gsoc2013-evolution-c5152171a104a8607952c07bfd99d434970eb80a.tar gsoc2013-evolution-c5152171a104a8607952c07bfd99d434970eb80a.tar.gz gsoc2013-evolution-c5152171a104a8607952c07bfd99d434970eb80a.tar.bz2 gsoc2013-evolution-c5152171a104a8607952c07bfd99d434970eb80a.tar.lz gsoc2013-evolution-c5152171a104a8607952c07bfd99d434970eb80a.tar.xz 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/dialogs')
-rw-r--r-- | calendar/gui/dialogs/event-page.c | 4 | ||||
-rw-r--r-- | calendar/gui/dialogs/schedule-page.c | 2 | ||||
-rw-r--r-- | calendar/gui/dialogs/task-page.c | 4 |
3 files changed, 5 insertions, 5 deletions
diff --git a/calendar/gui/dialogs/event-page.c b/calendar/gui/dialogs/event-page.c index 4556e9c46b..adf6e3033f 100644 --- a/calendar/gui/dialogs/event-page.c +++ b/calendar/gui/dialogs/event-page.c @@ -420,8 +420,8 @@ clear_widgets (EventPage *epage) static void contacts_changed_cb (BonoboListener *listener, - char *event_name, - CORBA_any *arg, + const char *event_name, + const CORBA_any *arg, CORBA_Environment *ev, gpointer data) { diff --git a/calendar/gui/dialogs/schedule-page.c b/calendar/gui/dialogs/schedule-page.c index d3ad165c70..f3b553e178 100644 --- a/calendar/gui/dialogs/schedule-page.c +++ b/calendar/gui/dialogs/schedule-page.c @@ -379,7 +379,7 @@ init_widgets (SchedulePage *spage) priv = spage->priv; g_signal_connect((priv->sel), - "changed", times_changed_cb, spage); + "changed", G_CALLBACK (times_changed_cb), spage); return TRUE; diff --git a/calendar/gui/dialogs/task-page.c b/calendar/gui/dialogs/task-page.c index 177c100b8b..89edfd935f 100644 --- a/calendar/gui/dialogs/task-page.c +++ b/calendar/gui/dialogs/task-page.c @@ -264,8 +264,8 @@ classification_get (GtkWidget *widget) static void contacts_changed_cb (BonoboListener *listener, - char *event_name, - CORBA_any *arg, + const char *event_name, + const CORBA_any *arg, CORBA_Environment *ev, gpointer data) { |