[gtk+] info_bar: call style_updated at the end of info_bar_init



commit 1da07caaeddbbfaeed708feda6ea97669b200995
Author: Josà Aliste <jaliste src gnome org>
Date:   Thu Jun 16 14:32:13 2011 -0400

    info_bar: call style_updated at the end of info_bar_init
    
    This fix a render bug where the infobar would not add borders
    arount its content. Fix proposed by Benjamin Otte.

 gtk/gtkinfobar.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkinfobar.c b/gtk/gtkinfobar.c
index 64f3e94..70ed734 100644
--- a/gtk/gtkinfobar.c
+++ b/gtk/gtkinfobar.c
@@ -541,6 +541,7 @@ gtk_info_bar_init (GtkInfoBar *info_bar)
   info_bar->priv->action_area = action_area;
 
   gtk_widget_pop_composite_child ();
+  gtk_info_bar_style_updated (info_bar);
 }
 
 static GtkBuildableIface *parent_buildable_iface;



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