aboutsummaryrefslogtreecommitdiffstats
path: root/calendar
diff options
context:
space:
mode:
Diffstat (limited to 'calendar')
-rw-r--r--calendar/gui/gnome-cal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/calendar/gui/gnome-cal.c b/calendar/gui/gnome-cal.c
index 7f85442df0..8ad4ca460e 100644
--- a/calendar/gui/gnome-cal.c
+++ b/calendar/gui/gnome-cal.c
@@ -599,7 +599,7 @@ gnome_calendar_class_init (GnomeCalendarClass *class)
* Key bindings
*/
- binding_set = gtk_binding_set_by_class (class);
+ binding_set = gtk_binding_set_new (G_OBJECT_CLASS_NAME (class));
/* Alt+PageUp/PageDown, go to the first/last day of the month */
gtk_binding_entry_add_signal (binding_set, GDK_Page_Up,