diff options
author | Charles Kerr <charles.kerr@canonical.com> | 2012-03-09 18:53:28 -0600 |
---|---|---|
committer | Charles Kerr <charles.kerr@canonical.com> | 2012-03-09 18:53:28 -0600 |
commit | c96a9ad454aa46a475a3e680a716a8a788d84ee1 (patch) | |
tree | 8fccb1e1722594a05688b79449a14ffc7ff7b996 | |
parent | eec3ce5bf89212a5e47e4d4ba56e3b468472e7c4 (diff) | |
download | ayatana-ido-c96a9ad454aa46a475a3e680a716a8a788d84ee1.tar.gz ayatana-ido-c96a9ad454aa46a475a3e680a716a8a788d84ee1.tar.bz2 ayatana-ido-c96a9ad454aa46a475a3e680a716a8a788d84ee1.zip |
don't override widget_class.state_changed in idoscalemenuitem ... that was preventing the prelight state from ever showing up there.
-rw-r--r-- | src/idoscalemenuitem.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/src/idoscalemenuitem.c b/src/idoscalemenuitem.c index f973f52..15ce7d4 100644 --- a/src/idoscalemenuitem.c +++ b/src/idoscalemenuitem.c @@ -105,13 +105,6 @@ G_DEFINE_TYPE (IdoScaleMenuItem, ido_scale_menu_item, GTK_TYPE_MENU_ITEM) #define GET_PRIVATE(o) (G_TYPE_INSTANCE_GET_PRIVATE ((o), IDO_TYPE_SCALE_MENU_ITEM, IdoScaleMenuItemPrivate)) -static void -ido_scale_menu_item_state_changed (GtkWidget *widget, - GtkStateType previous_state) -{ - gtk_widget_set_state (widget, GTK_STATE_NORMAL); -} - static gboolean ido_scale_menu_item_scroll_event (GtkWidget *menuitem, GdkEventScroll *event) @@ -301,7 +294,6 @@ ido_scale_menu_item_class_init (IdoScaleMenuItemClass *item_class) widget_class->button_release_event = ido_scale_menu_item_button_release_event; widget_class->motion_notify_event = ido_scale_menu_item_motion_notify_event; widget_class->scroll_event = ido_scale_menu_item_scroll_event; - widget_class->state_changed = ido_scale_menu_item_state_changed; widget_class->size_allocate = ido_scale_menu_item_size_allocate; gobject_class->constructed = ido_scale_menu_item_constructed; |