summaryrefslogtreecommitdiff
path: root/gtk/gtkgesturedrag.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2014-05-05 22:40:18 -0400
committerCarlos Garnacho <carlosg@gnome.org>2014-05-23 19:54:28 +0200
commit42df9eda2d469eddc8f576aa09f80cdcc72a883a (patch)
treec735343525306ef812f619d32f882f2cfcbf9944 /gtk/gtkgesturedrag.h
parent93b7883372d588362aa93e308298cdcdbf2dc658 (diff)
downloadgtk+-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/gtkgesturedrag.h')
-rw-r--r--gtk/gtkgesturedrag.h22
1 files changed, 0 insertions, 22 deletions
diff --git a/gtk/gtkgesturedrag.h b/gtk/gtkgesturedrag.h
index c2f76e6aaf..be308eb631 100644
--- a/gtk/gtkgesturedrag.h
+++ b/gtk/gtkgesturedrag.h
@@ -38,28 +38,6 @@ G_BEGIN_DECLS
typedef struct _GtkGestureDrag GtkGestureDrag;
typedef struct _GtkGestureDragClass GtkGestureDragClass;
-struct _GtkGestureDrag
-{
- GtkGestureSingle parent_instance;
-};
-
-struct _GtkGestureDragClass
-{
- GtkGestureSingleClass parent_class;
-
- void (* drag_begin) (GtkGestureDrag *gesture,
- gdouble start_x,
- gdouble start_y);
- void (* drag_update) (GtkGestureDrag *gesture,
- gdouble offset_x,
- gdouble offset_y);
- void (* drag_end) (GtkGestureDrag *gesture,
- gdouble offset_x,
- gdouble offset_y);
- /*<private>*/
- gpointer padding[10];
-};
-
GDK_AVAILABLE_IN_3_14
GType gtk_gesture_drag_get_type (void) G_GNUC_CONST;