Use gtk_dialog_get_content_area() instead of dialog->vbox

This commit is contained in:
Michael Natterer
2009-07-15 16:19:32 +02:00
parent 4da5ed3a8b
commit 997111bf0a
38 changed files with 66 additions and 46 deletions

View File

@ -143,7 +143,8 @@ module_dialog_new (Gimp *gimp)
vbox = gtk_vbox_new (FALSE, 12);
gtk_container_set_border_width (GTK_CONTAINER (vbox), 12);
gtk_container_add (GTK_CONTAINER (GTK_DIALOG (shell)->vbox), vbox);
gtk_container_add (GTK_CONTAINER (gtk_dialog_get_content_area (GTK_DIALOG (shell))),
vbox);
gtk_widget_show (vbox);
dialog->hint = gimp_hint_box_new (_("You will have to restart GIMP "