From 5f7e093168ed8bd43df3c80613fb97d8b43a2ad6 Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Fri, 29 Jun 2018 04:48:10 +0200 Subject: gtk: Move GtkGesture declaration to gtktypes.h That way, headers can use the gesture type without having to include gtkgesture.h --- gtk/gtkgesture.h | 1 - gtk/gtktypes.h | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.1