diff options
author | Matthias Clasen <mclasen@redhat.com> | 2019-04-07 17:19:09 +0000 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2019-04-07 17:19:09 +0000 |
commit | b804235aea791a65f1c50668c4bc43d27a4922e8 (patch) | |
tree | d4ef6b18cba01e54fa3ab9201942eb5982eb7bd1 /gtk/gtkrange.c | |
parent | 6bc32a3d5d2dd52d245a6c389214598e240422b0 (diff) | |
download | gtk+-b804235aea791a65f1c50668c4bc43d27a4922e8.tar.gz |
Add a flags argument to gtk_widget_pick
This will be used to let the inspector and other users
pick insensitive widgets again. For now, update all
callers to pass no flags, preserving the current
behavior.
Diffstat (limited to 'gtk/gtkrange.c')
-rw-r--r-- | gtk/gtkrange.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkrange.c b/gtk/gtkrange.c index 586561917e..9b430d79c9 100644 --- a/gtk/gtkrange.c +++ b/gtk/gtkrange.c @@ -1865,7 +1865,7 @@ gtk_range_long_press_gesture_pressed (GtkGestureLongPress *gesture, GtkRangePrivate *priv = gtk_range_get_instance_private (range); GtkWidget *mouse_location; - mouse_location = gtk_widget_pick (GTK_WIDGET (range), x, y); + mouse_location = gtk_widget_pick (GTK_WIDGET (range), x, y, 0); if (mouse_location == priv->slider_widget && !priv->zoom) { @@ -1909,7 +1909,7 @@ gtk_range_multipress_gesture_pressed (GtkGestureMultiPress *gesture, "gtk-primary-button-warps-slider", &primary_warps, NULL); - mouse_location = gtk_widget_pick (widget, x, y); + mouse_location = gtk_widget_pick (widget, x, y, 0); /* For the purposes of this function, we ignore fill and highlight and * handle them like the trough */ |