[gtk+] messagedialog: Initialize style values in init()



commit 504c0fdc277fea075524170e777e54d696d39b32
Author: Benjamin Otte <otte redhat com>
Date:   Fri Jun 24 05:01:03 2011 +0200

    messagedialog: Initialize style values in init()
    
    Fixes underallocation warnings

 gtk/gtkmessagedialog.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkmessagedialog.c b/gtk/gtkmessagedialog.c
index e0c8316..1189a8b 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);
 }
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]