aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2010-03-16 01:41:14 +0800
committerMilan Crha <mcrha@redhat.com>2010-03-16 01:43:02 +0800
commit8bb20047d9d785c08387cd26fb13b3c8de9ce5a2 (patch)
treece69f3eae8fe673ce1e7537ff9d85f48d701f013
parentedf71e7a156d8b2a1a42baa6758b5840f6c834c4 (diff)
downloadgsoc2013-evolution-8bb20047d9d785c08387cd26fb13b3c8de9ce5a2.tar.gz
gsoc2013-evolution-8bb20047d9d785c08387cd26fb13b3c8de9ce5a2.tar.zst
gsoc2013-evolution-8bb20047d9d785c08387cd26fb13b3c8de9ce5a2.zip
Fix runtime warnings when opening calendar for the first time
-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,