diff options
author | Benjamin Otte <otte@redhat.com> | 2018-06-29 04:48:10 +0200 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2018-07-24 20:55:45 +0200 |
commit | 5f7e093168ed8bd43df3c80613fb97d8b43a2ad6 (patch) | |
tree | da01fd3870c0e986784fa90baa45e3539662d4a6 | |
parent | 0f70e6d70a74ed8b4011371568b5da6349e4d119 (diff) | |
download | gtk+-5f7e093168ed8bd43df3c80613fb97d8b43a2ad6.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; |