diff options
author | Matthias Clasen <mclasen@redhat.com> | 2014-06-16 17:31:56 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2014-06-16 17:31:56 -0400 |
commit | f0f9c2aa37893cf5d3f09ce9c8ac36a88d661e37 (patch) | |
tree | 0062ca04becddb65cdfd81252e069cee0c21254e /gtk/gtkassistant.c | |
parent | b57c04de5c8d2cd2305f6561309af335428685a4 (diff) | |
download | gtk+-f0f9c2aa37893cf5d3f09ce9c8ac36a88d661e37.tar.gz |
Revert "gtkbin: replace internal api"
This reverts commit 0f4751c08e22a4f45d58e2368e4ae82df407d330.
This causes warnings from the notebook and combobox code.
Diffstat (limited to 'gtk/gtkassistant.c')
-rw-r--r-- | gtk/gtkassistant.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk/gtkassistant.c b/gtk/gtkassistant.c index 6112d30298..215a9c82ac 100644 --- a/gtk/gtkassistant.c +++ b/gtk/gtkassistant.c @@ -1434,7 +1434,8 @@ gtk_assistant_add (GtkContainer *container, */ if (!gtk_bin_get_child (GTK_BIN (container))) { - GTK_CONTAINER_CLASS (gtk_assistant_parent_class)->add (container, page); + gtk_widget_set_parent (page, GTK_WIDGET (container)); + _gtk_bin_set_child (GTK_BIN (container), page); return; } |