]> Pileus Git - ~andy/gtk/commitdiff
info_bar: call style_updated at the end of info_bar_init
authorJosé Aliste <jaliste@src.gnome.org>
Thu, 16 Jun 2011 18:32:13 +0000 (14:32 -0400)
committerJosé Aliste <jaliste@src.gnome.org>
Thu, 16 Jun 2011 18:34:14 +0000 (14:34 -0400)
This fix a render bug where the infobar would not add borders
arount its content. Fix proposed by Benjamin Otte.

gtk/gtkinfobar.c

index 64f3e940f27ba2903daf8e4f4925a359d5fce8df..70ed73436a2a148e9a12791bf2ec5ee4ed01ba6f 100644 (file)
@@ -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;