[gtk+/a11y] messagedialog: Initialize style values in init()
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/a11y] messagedialog: Initialize style values in init()
- Date: Fri, 24 Jun 2011 03:05:10 +0000 (UTC)
commit 7cb31240061de6f898a93658c24fcc082790ed11
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]