summaryrefslogtreecommitdiff
path: root/gtk/gtkstacksidebar.h
diff options
context:
space:
mode:
authorTimm Bäder <mail@baedert.org>2019-10-06 13:46:05 +0200
committerTimm Bäder <mail@baedert.org>2019-10-09 16:57:22 +0200
commit3d3525a58908b63cf9394a4d72517cb3a72b8c3f (patch)
tree5dcb277b768c4943089f88661cbf47c724bbfafa /gtk/gtkstacksidebar.h
parent553c458e5afcca19b5c560d32e1a8d500d0e7d9b (diff)
downloadgtk+-3d3525a58908b63cf9394a4d72517cb3a72b8c3f.tar.gz
stacksidebar: Inherit from GtkWidget
The child widgets are completely managed by the stacksidebar itself, so this has no business being a GtkBin.
Diffstat (limited to 'gtk/gtkstacksidebar.h')
-rw-r--r--gtk/gtkstacksidebar.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/gtk/gtkstacksidebar.h b/gtk/gtkstacksidebar.h
index 0e6319795a..b49269532c 100644
--- a/gtk/gtkstacksidebar.h
+++ b/gtk/gtkstacksidebar.h
@@ -26,7 +26,6 @@
#error "Only <gtk/gtk.h> can be included directly."
#endif
-#include <gtk/gtkbin.h>
#include <gtk/gtkstack.h>
G_BEGIN_DECLS
@@ -42,10 +41,10 @@ GType gtk_stack_sidebar_get_type (void) G_GNUC_CONST;
GDK_AVAILABLE_IN_ALL
GtkWidget * gtk_stack_sidebar_new (void);
GDK_AVAILABLE_IN_ALL
-void gtk_stack_sidebar_set_stack (GtkStackSidebar *sidebar,
+void gtk_stack_sidebar_set_stack (GtkStackSidebar *self,
GtkStack *stack);
GDK_AVAILABLE_IN_ALL
-GtkStack * gtk_stack_sidebar_get_stack (GtkStackSidebar *sidebar);
+GtkStack * gtk_stack_sidebar_get_stack (GtkStackSidebar *self);
G_END_DECLS