diff options
Diffstat (limited to 'src/idoscalemenuitem.c')
-rw-r--r-- | src/idoscalemenuitem.c | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/idoscalemenuitem.c b/src/idoscalemenuitem.c index 8fec7df..2a17edb 100644 --- a/src/idoscalemenuitem.c +++ b/src/idoscalemenuitem.c @@ -76,7 +76,6 @@ struct _IdoScaleMenuItemPrivate { gboolean grabbed; IdoScaleMenuItemStyle style; IdoRangeStyle range_style; - gint toggle_size; gboolean ignore_value_changed; gboolean has_focus; }; @@ -135,16 +134,6 @@ ido_scale_menu_item_scroll_event (GtkWidget *menuitem, } static void -ido_scale_menu_item_toggle_size_allocate (IdoScaleMenuItem *item, - gint toggle_size, - gpointer user_data) -{ - IdoScaleMenuItemPrivate *priv = GET_PRIVATE (item); - - priv->toggle_size = toggle_size; -} - -static void ido_scale_menu_item_scale_value_changed (GtkRange *range, gpointer user_data) { @@ -197,10 +186,6 @@ ido_scale_menu_item_constructed (GObject *object) update_packing (self, priv->style); - g_signal_connect (self, "toggle-size-allocate", - G_CALLBACK (ido_scale_menu_item_toggle_size_allocate), - NULL); - gtk_container_add (GTK_CONTAINER (self), hbox); gtk_widget_add_events (GTK_WIDGET(self), GDK_SCROLL_MASK); |