From 504c0fdc277fea075524170e777e54d696d39b32 Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Fri, 24 Jun 2011 05:01:03 +0200 Subject: [PATCH] messagedialog: Initialize style values in init() Fixes underallocation warnings --- gtk/gtkmessagedialog.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gtk/gtkmessagedialog.c b/gtk/gtkmessagedialog.c index e0c8316a21..1189a8b041 100644 --- a/gtk/gtkmessagedialog.c +++ b/gtk/gtkmessagedialog.c @@ -376,6 +376,8 @@ gtk_message_dialog_init (GtkMessageDialog *dialog) gtk_container_set_border_width (GTK_CONTAINER (action_area), 5); gtk_box_set_spacing (GTK_BOX (action_area), 6); + gtk_message_dialog_style_updated (GTK_WIDGET (dialog)); + gtk_widget_show_all (hbox); }