diff options
Diffstat (limited to 'calendar/gui/e-day-view-time-item.c')
-rw-r--r-- | calendar/gui/e-day-view-time-item.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/calendar/gui/e-day-view-time-item.c b/calendar/gui/e-day-view-time-item.c index 5fbe36a834..8d2f943f7e 100644 --- a/calendar/gui/e-day-view-time-item.c +++ b/calendar/gui/e-day-view-time-item.c @@ -529,9 +529,8 @@ e_day_view_time_item_show_popup_menu (EDayViewTimeItem *dvtmitem, gtk_object_set_data (GTK_OBJECT (item), "divisions", GINT_TO_POINTER (divisions[i])); - gtk_signal_connect (GTK_OBJECT (item), "toggled", - e_day_view_time_item_on_set_divisions, - dvtmitem); + g_signal_connect (item, "toggled", + G_CALLBACK (e_day_view_time_item_on_set_divisions), dvtmitem); } gtk_menu_popup (GTK_MENU (menu), NULL, NULL, NULL, NULL, |