Fix GtkDialog, don't add vbox via gtk_container_add.

svn path=/trunk/; revision=20618
This commit is contained in:
Tim Janik 2008-06-20 11:09:30 +00:00
parent 094446d242
commit 847b87eb9f

View File

@ -268,8 +268,10 @@ gtk_dialog_init (GtkDialog *dialog)
NULL);
dialog->vbox = gtk_vbox_new (FALSE, 0);
gtk_container_add (GTK_CONTAINER (dialog), dialog->vbox);
/* gtk_container_add () from superclass */
GTK_CONTAINER_CLASS (gtk_dialog_parent_class)->add (GTK_CONTAINER (dialog),
dialog->vbox);
gtk_widget_show (dialog->vbox);
dialog->action_area = gtk_hbutton_box_new ();