diff options
author | Benjamin Otte <otte@redhat.com> | 2018-06-29 04:48:10 +0200 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2018-07-14 18:37:53 +0200 |
commit | 5760486e6e7667360c131e89bd6973cbd66603fa (patch) | |
tree | 0dd6865be6a617ee8bbf215e6317f5f8e4c5872f | |
parent | 1bc0762e8f5ba3ceada41f32dc0a136156fbc450 (diff) | |
download | gtk+-5760486e6e7667360c131e89bd6973cbd66603fa.tar.gz |
gtk: Move GtkGesture declaration to gtktypes.h
That way, headers can use the gesture type without having to include
gtkgesture.h
-rw-r--r-- | gtk/gtkgesture.h | 1 | ||||
-rw-r--r-- | gtk/gtktypes.h | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkgesture.h b/gtk/gtkgesture.h index cb70894c66..7513853157 100644 --- a/gtk/gtkgesture.h +++ b/gtk/gtkgesture.h @@ -36,7 +36,6 @@ G_BEGIN_DECLS #define GTK_IS_GESTURE_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GTK_TYPE_GESTURE)) #define GTK_GESTURE_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GTK_TYPE_GESTURE, GtkGestureClass)) -typedef struct _GtkGesture GtkGesture; typedef struct _GtkGestureClass GtkGestureClass; GDK_AVAILABLE_IN_ALL diff --git a/gtk/gtktypes.h b/gtk/gtktypes.h index d0e91d30c4..fc58058821 100644 --- a/gtk/gtktypes.h +++ b/gtk/gtktypes.h @@ -37,6 +37,7 @@ typedef struct _GtkAdjustment GtkAdjustment; typedef struct _GtkBuilder GtkBuilder; typedef struct _GtkClipboard GtkClipboard; typedef struct _GtkEventController GtkEventController; +typedef struct _GtkGesture GtkGesture; typedef struct _GtkRequisition GtkRequisition; typedef struct _GtkSelectionData GtkSelectionData; typedef struct _GtkSettings GtkSettings; |