diff options
author | Carlos Garnacho <carlosg@gnome.org> | 2014-03-21 18:57:32 +0100 |
---|---|---|
committer | Carlos Garnacho <carlosg@gnome.org> | 2014-05-23 19:54:23 +0200 |
commit | 3db87cb0b7a195edc3cda0cb8c8dabf18348f9ab (patch) | |
tree | b32dc5cf7767e0986e3281da8dc9b6acc8e937b7 /gtk/gtkgesturelongpress.h | |
parent | 5f24d1a51943c1c066e47e5a9144520d242827cb (diff) | |
download | gtk+-3db87cb0b7a195edc3cda0cb8c8dabf18348f9ab.tar.gz |
longpress: Make a subclass of GtkGestureSingle
the redundant API here has been removed.
Diffstat (limited to 'gtk/gtkgesturelongpress.h')
-rw-r--r-- | gtk/gtkgesturelongpress.h | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/gtk/gtkgesturelongpress.h b/gtk/gtkgesturelongpress.h index 3560d3689f..d27f660fbc 100644 --- a/gtk/gtkgesturelongpress.h +++ b/gtk/gtkgesturelongpress.h @@ -24,7 +24,7 @@ #error "Only <gtk/gtk.h> can be included directly." #endif -#include <gtk/gtkgesture.h> +#include <gtk/gtkgesturesingle.h> G_BEGIN_DECLS @@ -40,12 +40,12 @@ typedef struct _GtkGestureLongPressClass GtkGestureLongPressClass; struct _GtkGestureLongPress { - GtkGesture parent_instance; + GtkGestureSingle parent_instance; }; struct _GtkGestureLongPressClass { - GtkGestureClass parent_class; + GtkGestureSingleClass parent_class; void (* pressed) (GtkGestureLongPress *gesture, gdouble x, @@ -62,12 +62,6 @@ GType gtk_gesture_long_press_get_type (void) G_GNUC_CONST; GDK_AVAILABLE_IN_3_14 GtkGesture * gtk_gesture_long_press_new (GtkWidget *widget); -GDK_AVAILABLE_IN_3_14 -void gtk_gesture_long_press_set_button (GtkGestureLongPress *gesture, - guint button); -GDK_AVAILABLE_IN_3_14 -guint gtk_gesture_long_press_get_button (GtkGestureLongPress *gesture); - G_END_DECLS #endif /* __GTK_GESTURE_LONG_PRESS_H__ */ |