From c5152171a104a8607952c07bfd99d434970eb80a Mon Sep 17 00:00:00 2001 From: Hans Petter Jansson Date: Thu, 23 Jan 2003 21:56:10 +0000 Subject: Fixes some trivial, but distracting, warnings. 2003-01-23 Hans Petter Jansson 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 --- calendar/gui/calendar-view.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'calendar/gui/calendar-view.c') diff --git a/calendar/gui/calendar-view.c b/calendar/gui/calendar-view.c index f46f3cc117..894cca807e 100644 --- a/calendar/gui/calendar-view.c +++ b/calendar/gui/calendar-view.c @@ -41,7 +41,7 @@ static void calendar_view_class_init (CalendarViewClass *class); static void calendar_view_init (CalendarView *cview); static void calendar_view_destroy (GtkObject *object); -static void calendar_view_edit (GalView *view); +static void calendar_view_edit (GalView *view, GtkWindow *parent_window); static void calendar_view_load (GalView *view, const char *filename); static void calendar_view_save (GalView *view, const char *filename); static const char *calendar_view_get_title (GalView *view); @@ -120,7 +120,7 @@ calendar_view_destroy (GtkObject *object) /* edit method of the calendar view */ static void -calendar_view_edit (GalView *view) +calendar_view_edit (GalView *view, GtkWindow *parent_window) { /* nothing */ } -- cgit v1.2.3