diff options
author | Timm Bäder <mail@baedert.org> | 2017-05-06 12:41:50 +0200 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2017-07-19 21:27:12 -0400 |
commit | 2234d100ad72797cbdb0653095af752a270a954c (patch) | |
tree | ed89ae57a11fe3507e6c133ac4d92433b12b4044 /gtk/gtkexpander.h | |
parent | a2f7a076aceca2b9f4da97fdb6f9649775b59e8b (diff) | |
download | gtk+-2234d100ad72797cbdb0653095af752a270a954c.tar.gz |
expander: Inherit from GtkContainer
This fixes the expansion not working. As a GtkBin, GtkExpander can only
have one child and if that's a GtkBox (and not the one added through
gtk_expander_add), things go wrong.
Diffstat (limited to 'gtk/gtkexpander.h')
-rw-r--r-- | gtk/gtkexpander.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkexpander.h b/gtk/gtkexpander.h index 69a3fec3ff..a0024d0b05 100644 --- a/gtk/gtkexpander.h +++ b/gtk/gtkexpander.h @@ -43,7 +43,7 @@ typedef struct _GtkExpanderPrivate GtkExpanderPrivate; struct _GtkExpander { - GtkBin bin; + GtkContainer parent_instance; GtkExpanderPrivate *priv; }; @@ -55,7 +55,7 @@ struct _GtkExpander */ struct _GtkExpanderClass { - GtkBinClass parent_class; + GtkContainerClass parent_class; /*< public >*/ |