[gtk/readonly-events-1] gdk: Drop event structs from the headers
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/readonly-events-1] gdk: Drop event structs from the headers
- Date: Fri, 21 Feb 2020 02:31:15 +0000 (UTC)
commit 3c60c67c19bdd359fe2c9594546ada4ba5bb1289
Author: Matthias Clasen <mclasen redhat com>
Date: Thu Feb 20 21:22:16 2020 -0500
gdk: Drop event structs from the headers
All events are GdkEvents now.
gdk/gdkevents.h | 20 --------------------
gdk/gdkeventsprivate.h | 20 ++++++++++++++++++++
2 files changed, 20 insertions(+), 20 deletions(-)
---
diff --git a/gdk/gdkevents.h b/gdk/gdkevents.h
index c08265d739..888ca9e5c5 100644
--- a/gdk/gdkevents.h
+++ b/gdk/gdkevents.h
@@ -99,26 +99,6 @@ G_BEGIN_DECLS
#define GDK_BUTTON_SECONDARY (3)
-
-typedef struct _GdkEventAny GdkEventAny;
-typedef struct _GdkEventMotion GdkEventMotion;
-typedef struct _GdkEventButton GdkEventButton;
-typedef struct _GdkEventTouch GdkEventTouch;
-typedef struct _GdkEventScroll GdkEventScroll;
-typedef struct _GdkEventKey GdkEventKey;
-typedef struct _GdkEventFocus GdkEventFocus;
-typedef struct _GdkEventCrossing GdkEventCrossing;
-typedef struct _GdkEventConfigure GdkEventConfigure;
-typedef struct _GdkEventProximity GdkEventProximity;
-typedef struct _GdkEventDND GdkEventDND;
-typedef struct _GdkEventSetting GdkEventSetting;
-typedef struct _GdkEventGrabBroken GdkEventGrabBroken;
-typedef struct _GdkEventTouchpadSwipe GdkEventTouchpadSwipe;
-typedef struct _GdkEventTouchpadPinch GdkEventTouchpadPinch;
-typedef struct _GdkEventPadButton GdkEventPadButton;
-typedef struct _GdkEventPadAxis GdkEventPadAxis;
-typedef struct _GdkEventPadGroupMode GdkEventPadGroupMode;
-
typedef struct _GdkEventSequence GdkEventSequence;
typedef union _GdkEvent GdkEvent;
diff --git a/gdk/gdkeventsprivate.h b/gdk/gdkeventsprivate.h
index 6505d548d1..6cc2aadcba 100644
--- a/gdk/gdkeventsprivate.h
+++ b/gdk/gdkeventsprivate.h
@@ -30,6 +30,26 @@
#include <gdk/gdkdevice.h>
#include <gdk/gdkdevicetool.h>
+
+typedef struct _GdkEventAny GdkEventAny;
+typedef struct _GdkEventMotion GdkEventMotion;
+typedef struct _GdkEventButton GdkEventButton;
+typedef struct _GdkEventTouch GdkEventTouch;
+typedef struct _GdkEventScroll GdkEventScroll;
+typedef struct _GdkEventKey GdkEventKey;
+typedef struct _GdkEventFocus GdkEventFocus;
+typedef struct _GdkEventCrossing GdkEventCrossing;
+typedef struct _GdkEventConfigure GdkEventConfigure;
+typedef struct _GdkEventProximity GdkEventProximity;
+typedef struct _GdkEventDND GdkEventDND;
+typedef struct _GdkEventSetting GdkEventSetting;
+typedef struct _GdkEventGrabBroken GdkEventGrabBroken;
+typedef struct _GdkEventTouchpadSwipe GdkEventTouchpadSwipe;
+typedef struct _GdkEventTouchpadPinch GdkEventTouchpadPinch;
+typedef struct _GdkEventPadButton GdkEventPadButton;
+typedef struct _GdkEventPadAxis GdkEventPadAxis;
+typedef struct _GdkEventPadGroupMode GdkEventPadGroupMode;
+
/*
* GdkEventAny:
* @type: the type of the event.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]