From 42df9eda2d469eddc8f576aa09f80cdcc72a883a Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Mon, 5 May 2014 22:40:18 -0400 Subject: Prevent subclassing of gestures For now, at least. We do this by hiding the instance and class structures in private headers. --- gtk/gtkgesturesingle.h | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'gtk/gtkgesturesingle.h') diff --git a/gtk/gtkgesturesingle.h b/gtk/gtkgesturesingle.h index a8a5a51d44..fb4bce9cd5 100644 --- a/gtk/gtkgesturesingle.h +++ b/gtk/gtkgesturesingle.h @@ -39,19 +39,6 @@ G_BEGIN_DECLS typedef struct _GtkGestureSingle GtkGestureSingle; typedef struct _GtkGestureSingleClass GtkGestureSingleClass; -struct _GtkGestureSingle -{ - GtkGesture parent_instance; -}; - -struct _GtkGestureSingleClass -{ - GtkGestureClass parent_class; - - /*< private >*/ - gpointer padding[10]; -}; - GDK_AVAILABLE_IN_3_14 GType gtk_gesture_single_get_type (void) G_GNUC_CONST; -- cgit v1.2.1