From 44093f4966c92d1acf9f7a7368f5e4197ec8f2cc Mon Sep 17 00:00:00 2001 From: Andy Holmes Date: Sun, 3 Nov 2019 18:05:03 -0800 Subject: stack: return the stack page when adding a child, to ease setting props --- gtk/gtkstack.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gtk/gtkstack.h') diff --git a/gtk/gtkstack.h b/gtk/gtkstack.h index dad047efdc..75a8d6871e 100644 --- a/gtk/gtkstack.h +++ b/gtk/gtkstack.h @@ -79,11 +79,11 @@ GType gtk_stack_get_type (void) G_GNUC_CONST; GDK_AVAILABLE_IN_ALL GtkWidget * gtk_stack_new (void); GDK_AVAILABLE_IN_ALL -void gtk_stack_add_named (GtkStack *stack, +GtkStackPage * gtk_stack_add_named (GtkStack *stack, GtkWidget *child, const gchar *name); GDK_AVAILABLE_IN_ALL -void gtk_stack_add_titled (GtkStack *stack, +GtkStackPage * gtk_stack_add_titled (GtkStack *stack, GtkWidget *child, const gchar *name, const gchar *title); -- cgit v1.2.1