summaryrefslogtreecommitdiff
path: root/gtk/gtkbutton.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/gtkbutton.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/gtkbutton.h')
-rw-r--r--gtk/gtkbutton.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/gtk/gtkbutton.h b/gtk/gtkbutton.h
index 6be47145fc..51f9bac0a7 100644
--- a/gtk/gtkbutton.h
+++ b/gtk/gtkbutton.h
@@ -31,8 +31,6 @@
#endif
#include <gtk/gtkbin.h>
-#include <gtk/gtkimage.h>
-
G_BEGIN_DECLS
@@ -50,9 +48,7 @@ typedef struct _GtkButtonClass GtkButtonClass;
struct _GtkButton
{
/*< private >*/
- GtkBin bin;
-
- GtkButtonPrivate *priv;
+ GtkBin parent_instance;
};
/**