summaryrefslogtreecommitdiff
path: root/gtk/gtkbuttonprivate.h
diff options
context:
space:
mode:
authorTimm Bäder <mail@baedert.org>2018-02-25 11:29:33 +0100
committerTimm Bäder <mail@baedert.org>2018-02-25 16:47:20 +0100
commitc7294ab90e06a6bb0b5ca4958064f00d0c2a063b (patch)
treeafa99ccd5653f95c11e1f176b1c268e5ee23da47 /gtk/gtkbuttonprivate.h
parent94493414b508420a7701e98abfb62b1707d195e4 (diff)
downloadgtk+-c7294ab90e06a6bb0b5ca4958064f00d0c2a063b.tar.gz
button: Remove priv pointer
This way we can also move the GtkButtonPrivate definition into gtkbutton.c
Diffstat (limited to 'gtk/gtkbuttonprivate.h')
-rw-r--r--gtk/gtkbuttonprivate.h24
1 files changed, 1 insertions, 23 deletions
diff --git a/gtk/gtkbuttonprivate.h b/gtk/gtkbuttonprivate.h
index e19cc96405..cc2759f25b 100644
--- a/gtk/gtkbuttonprivate.h
+++ b/gtk/gtkbuttonprivate.h
@@ -21,30 +21,8 @@
#include "gtkbutton.h"
-#include "gtkactionhelperprivate.h"
-#include "gtkgesturesingle.h"
-
-G_BEGIN_DECLS
-
-
-struct _GtkButtonPrivate
-{
- GtkActionHelper *action_helper;
-
- GdkDevice *grab_keyboard;
-
- GtkGesture *gesture;
-
- guint activate_timeout;
-
- guint button_down : 1;
- guint in_button : 1;
- guint use_underline : 1;
- guint child_type : 2;
-};
+#include "gtkgesture.h"
GtkGesture * gtk_button_get_gesture (GtkButton *button);
-G_END_DECLS
-
#endif /* __GTK_BUTTON_PRIVATE_H__ */