diff options
author | Matthias Clasen <mclasen@redhat.com> | 2014-05-05 22:40:18 -0400 |
---|---|---|
committer | Carlos Garnacho <carlosg@gnome.org> | 2014-05-23 19:54:28 +0200 |
commit | 42df9eda2d469eddc8f576aa09f80cdcc72a883a (patch) | |
tree | c735343525306ef812f619d32f882f2cfcbf9944 /gtk/gtkgesturelongpress.h | |
parent | 93b7883372d588362aa93e308298cdcdbf2dc658 (diff) | |
download | gtk+-42df9eda2d469eddc8f576aa09f80cdcc72a883a.tar.gz |
Prevent subclassing of gestures
For now, at least. We do this by hiding the instance and
class structures in private headers.
Diffstat (limited to 'gtk/gtkgesturelongpress.h')
-rw-r--r-- | gtk/gtkgesturelongpress.h | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/gtk/gtkgesturelongpress.h b/gtk/gtkgesturelongpress.h index d27f660fbc..6cdc755b22 100644 --- a/gtk/gtkgesturelongpress.h +++ b/gtk/gtkgesturelongpress.h @@ -38,24 +38,6 @@ G_BEGIN_DECLS typedef struct _GtkGestureLongPress GtkGestureLongPress; typedef struct _GtkGestureLongPressClass GtkGestureLongPressClass; -struct _GtkGestureLongPress -{ - GtkGestureSingle parent_instance; -}; - -struct _GtkGestureLongPressClass -{ - GtkGestureSingleClass parent_class; - - void (* pressed) (GtkGestureLongPress *gesture, - gdouble x, - gdouble y); - void (* cancelled) (GtkGestureLongPress *gesture); - - /*< private >*/ - gpointer padding[10]; -}; - GDK_AVAILABLE_IN_3_14 GType gtk_gesture_long_press_get_type (void) G_GNUC_CONST; |