diff options
Diffstat (limited to 'calendar/gui')
-rw-r--r-- | calendar/gui/e-week-view.c | 2 | ||||
-rw-r--r-- | calendar/gui/gnome-cal.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/calendar/gui/e-week-view.c b/calendar/gui/e-week-view.c index a3a3e684d8..5c4bbcc312 100644 --- a/calendar/gui/e-week-view.c +++ b/calendar/gui/e-week-view.c @@ -1103,7 +1103,7 @@ e_week_view_set_first_day_shown (EWeekView *week_view, GDate base_date; gint day_offset, num_days; gboolean update_adjustment_value = FALSE; - guint32 old_selection_start_julian, old_selection_end_julian; + guint32 old_selection_start_julian = 0, old_selection_end_julian = 0; struct tm start_tm; time_t start_time; diff --git a/calendar/gui/gnome-cal.c b/calendar/gui/gnome-cal.c index ec70e56cc0..6a8dae19ce 100644 --- a/calendar/gui/gnome-cal.c +++ b/calendar/gui/gnome-cal.c @@ -1387,6 +1387,7 @@ gnome_calendar_set_selected_time_range (GnomeCalendar *gcal, gnome_calendar_update_date_navigator (gcal); } +#ifndef NO_WARNINGS /* Callback used when an event editor finishes editing an object */ static void released_event_object_cb (EventEditor *ee, const char *uid, gpointer data) @@ -1406,6 +1407,7 @@ released_event_object_cb (EventEditor *ee, const char *uid, gpointer data) g_hash_table_remove (gcal->object_editor_hash, orig_uid); g_free (orig_uid); } +#endif /* Callback used when an event editor dialog is closed */ struct editor_closure |