diff options
author | infirit <[email protected]> | 2014-07-06 16:31:12 +0200 |
---|---|---|
committer | infirit <[email protected]> | 2015-07-14 13:07:44 +0200 |
commit | 59c66fd0169b84fbbccf3dad672589f5d915d4a0 (patch) | |
tree | 177b32a5694fb94646d7f6a0b8bcea3448bc2373 /libmate-panel-applet | |
parent | 8b65935648a94ba427e1fa457336485662cddd42 (diff) | |
download | mate-panel-59c66fd0169b84fbbccf3dad672589f5d915d4a0.tar.bz2 mate-panel-59c66fd0169b84fbbccf3dad672589f5d915d4a0.tar.xz |
Replace GtkObject with GObject also for Gtk+ 2
Diffstat (limited to 'libmate-panel-applet')
-rw-r--r-- | libmate-panel-applet/mate-panel-applet.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/libmate-panel-applet/mate-panel-applet.c b/libmate-panel-applet/mate-panel-applet.c index 6249a91f..72f3d595 100644 --- a/libmate-panel-applet/mate-panel-applet.c +++ b/libmate-panel-applet/mate-panel-applet.c @@ -2064,9 +2064,6 @@ static void mate_panel_applet_class_init (MatePanelAppletClass *klass) { GObjectClass *gobject_class = (GObjectClass *) klass; -#if !GTK_CHECK_VERSION (3, 0, 0) - GtkObjectClass *object_class = (GtkObjectClass *) klass; -#endif GtkWidgetClass *widget_class = (GtkWidgetClass *) klass; GtkBindingSet *binding_set; @@ -2236,11 +2233,7 @@ mate_panel_applet_class_init (MatePanelAppletClass *klass) 1, GTK_TYPE_DIRECTION_TYPE); -#if GTK_CHECK_VERSION (3, 0, 0) binding_set = gtk_binding_set_by_class (gobject_class); -#else - binding_set = gtk_binding_set_by_class (object_class); -#endif add_tab_bindings (binding_set, 0, GTK_DIR_TAB_FORWARD); add_tab_bindings (binding_set, GDK_SHIFT_MASK, GTK_DIR_TAB_BACKWARD); add_tab_bindings (binding_set, GDK_CONTROL_MASK, GTK_DIR_TAB_FORWARD); |