From 1d89cb7a9bf3f95ee03541ecede075fbb6054284 Mon Sep 17 00:00:00 2001 From: Hans Petter Jansson Date: Mon, 24 Feb 2003 00:57:57 +0000 Subject: Appease the compiler. (gnome_calendar_update_paned_quanta): Don't actually 2003-02-23 Hans Petter Jansson * gui/gnome-cal.c (backend_died_cb): Appease the compiler. (gnome_calendar_update_paned_quanta): Don't actually try to set the quantum properties. The quantum code should probably go away entirely now that the panes update during resize, but let's keep it around for a bit more. * gui/dialogs/event-editor.c (event_editor_construct): Ref & sink the pages. * gui/dialogs/task-editor.c (task_editor_construct): Ref & sink the pages. svn path=/trunk/; revision=20011 --- calendar/gui/gnome-cal.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'calendar/gui/gnome-cal.c') diff --git a/calendar/gui/gnome-cal.c b/calendar/gui/gnome-cal.c index 5c272c5f74..e805d1323f 100644 --- a/calendar/gui/gnome-cal.c +++ b/calendar/gui/gnome-cal.c @@ -1767,8 +1767,10 @@ backend_died_cb (CalClient *client, gpointer data) uristr); calendar_model_set_status_message ( e_calendar_table_get_model (E_CALENDAR_TABLE (priv->todo)), NULL); - } else + } else { + message = NULL; g_assert_not_reached (); + } gnome_error_dialog_parented (message, GTK_WINDOW (gtk_widget_get_toplevel (GTK_WIDGET (gcal)))); g_free (message); @@ -2666,7 +2668,7 @@ gnome_calendar_update_paned_quanta (GnomeCalendar *gcal) months as will fit. But for that to work nicely the EPaned should resize the widgets as the bar is dragged. Otherwise the user has to mess around to get the number of months that they want. */ -#if 1 +#if 0 g_object_set (G_OBJECT (priv->hpane), "quantum", (guint) col_width, NULL); g_object_set (G_OBJECT (priv->vpane), "quantum", (guint) row_height, NULL); #endif -- cgit v1.2.3