diff options
author | Matthias Clasen <mclasen@redhat.com> | 2020-03-18 21:57:51 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2020-03-18 23:00:51 -0400 |
commit | ab9b094f806febd1e6fa03de7cd5463480984015 (patch) | |
tree | 41d556131492c742f6f675b792d1ac361d9674ea | |
parent | 4bc60c61107e43383bba1e964e107d87f2ad678d (diff) | |
download | gtk+-ab9b094f806febd1e6fa03de7cd5463480984015.tar.gz |
range: Remove ::popup-menu emission
This signal is going away, and having context menus
on sliders is not really a thing anyway.
-rw-r--r-- | gtk/gtkrange.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/gtk/gtkrange.c b/gtk/gtkrange.c index 7ab475d2a3..b204596650 100644 --- a/gtk/gtkrange.c +++ b/gtk/gtkrange.c @@ -1883,16 +1883,6 @@ gtk_range_click_gesture_pressed (GtkGestureClick *gesture, mouse_location == priv->highlight_widget) mouse_location = priv->trough_widget; - if (mouse_location == priv->slider_widget && - gdk_event_triggers_context_menu (event)) - { - gboolean handled; - - gtk_gesture_set_state (GTK_GESTURE (gesture), GTK_EVENT_SEQUENCE_CLAIMED); - g_signal_emit_by_name (widget, "popup-menu", &handled); - return; - } - if (mouse_location == priv->slider_widget) { /* Shift-click in the slider = fine adjustment */ |