forked from AuroraMiddleware/gtk
messagedialog: Initialize style values in init()
Fixes underallocation warnings
This commit is contained in:
parent
5ec01aac61
commit
504c0fdc27
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user