diff options
author | Matthias Clasen <mclasen@redhat.com> | 2019-05-29 17:10:46 +0000 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2019-05-29 17:10:46 +0000 |
commit | 7f65e5f96b545fe071b37256eb61770a7ee2f085 (patch) | |
tree | 1efed96fd471162df7d838b781ca79f018aabbe7 /gtk/gtkmountoperation.c | |
parent | 5675d585f40adc407f7f0f56289654dc785b4610 (diff) | |
download | gtk+-7f65e5f96b545fe071b37256eb61770a7ee2f085.tar.gz |
Rename GtkGestureMultiPress to GtkGestureClick
The name just made it hard for people to find the
right gesture to use.
Diffstat (limited to 'gtk/gtkmountoperation.c')
-rw-r--r-- | gtk/gtkmountoperation.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gtk/gtkmountoperation.c b/gtk/gtkmountoperation.c index f1bf119437..3561bd2762 100644 --- a/gtk/gtkmountoperation.c +++ b/gtk/gtkmountoperation.c @@ -52,7 +52,7 @@ #include "gtksettings.h" #include "gtkstylecontextprivate.h" #include "gtkdialogprivate.h" -#include "gtkgesturemultipress.h" +#include "gtkgestureclick.h" #include <glib/gprintf.h> @@ -1342,7 +1342,7 @@ on_popup_menu_for_process_tree_view (GtkWidget *widget, } static void -multi_press_cb (GtkGesture *gesture, +click_cb (GtkGesture *gesture, int n_press, double x, double y, @@ -1470,10 +1470,10 @@ create_show_processes_dialog (GtkMountOperation *op, G_CALLBACK (on_popup_menu_for_process_tree_view), op); - gesture = gtk_gesture_multi_press_new (); + gesture = gtk_gesture_click_new (); gtk_gesture_single_set_button (GTK_GESTURE_SINGLE (gesture), GDK_BUTTON_SECONDARY); g_signal_connect (gesture, "pressed", - G_CALLBACK (multi_press_cb), op); + G_CALLBACK (click_cb), op); gtk_widget_add_controller (tree_view, GTK_EVENT_CONTROLLER (gesture)); list_store = gtk_list_store_new (3, |