diff options
Diffstat (limited to 'calendar/gui/e-day-view-config.c')
-rw-r--r-- | calendar/gui/e-day-view-config.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/calendar/gui/e-day-view-config.c b/calendar/gui/e-day-view-config.c index c5fe53e293..c11a675802 100644 --- a/calendar/gui/e-day-view-config.c +++ b/calendar/gui/e-day-view-config.c @@ -394,7 +394,8 @@ void e_day_view_config_set_view (EDayViewConfig *view_config, EDayView *day_view) { EDayViewConfigPrivate *priv; - guint not, not_1, not_2; + gint not_1, not_2, mbnot; + guint not; GList *l; g_return_if_fail (view_config != NULL); @@ -476,8 +477,8 @@ e_day_view_config_set_view (EDayViewConfig *view_config, EDayView *day_view) /* Showing Marcus Bains Line */ set_marcus_bains (day_view); - calendar_config_add_notification_marcus_bains (marcus_bains_changed_cb, view_config, ¬, ¬_1, ¬_2); - priv->notifications = g_list_prepend (priv->notifications, GUINT_TO_POINTER (not)); + calendar_config_add_notification_marcus_bains (marcus_bains_changed_cb, view_config, &mbnot, ¬_1, ¬_2); + priv->notifications = g_list_prepend (priv->notifications, GUINT_TO_POINTER (mbnot)); priv->notifications = g_list_prepend (priv->notifications, GUINT_TO_POINTER (not_1)); priv->notifications = g_list_prepend (priv->notifications, GUINT_TO_POINTER (not_2)); |