From 1eaf28c93056710c2d0eb64ab6afe9f150bdf243 Mon Sep 17 00:00:00 2001 From: Robert Tari Date: Wed, 17 Jul 2024 04:19:55 +0200 Subject: src/idoscalemenuitem.c: Disable menu item selection --- src/idoscalemenuitem.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/idoscalemenuitem.c b/src/idoscalemenuitem.c index c6cf877..9bdfbad 100644 --- a/src/idoscalemenuitem.c +++ b/src/idoscalemenuitem.c @@ -475,8 +475,6 @@ ido_scale_menu_item_select (GtkMenuItem *item) priv->has_focus = TRUE; gtk_widget_set_state_flags (priv->scale, GTK_STATE_FLAG_FOCUSED, FALSE); - - GTK_MENU_ITEM_CLASS (ido_scale_menu_item_parent_class)->select (item); } static void @@ -487,8 +485,6 @@ ido_scale_menu_item_deselect (GtkMenuItem *item) priv->has_focus = FALSE; gtk_widget_unset_state_flags (priv->scale, GTK_STATE_FLAG_FOCUSED); - - GTK_MENU_ITEM_CLASS (ido_scale_menu_item_parent_class)->deselect (item); } static gboolean -- cgit v1.2.3