messagedialog: Initialize style values in init()

Fixes underallocation warnings
This commit is contained in:
Benjamin Otte 2011-06-24 05:01:03 +02:00 committed by Matthias Clasen
parent 5ec01aac61
commit 504c0fdc27

View File

@ -376,6 +376,8 @@ gtk_message_dialog_init (GtkMessageDialog *dialog)
gtk_container_set_border_width (GTK_CONTAINER (action_area), 5); gtk_container_set_border_width (GTK_CONTAINER (action_area), 5);
gtk_box_set_spacing (GTK_BOX (action_area), 6); gtk_box_set_spacing (GTK_BOX (action_area), 6);
gtk_message_dialog_style_updated (GTK_WIDGET (dialog));
gtk_widget_show_all (hbox); gtk_widget_show_all (hbox);
} }