diff options
author | Matthias Clasen <mclasen@redhat.com> | 2009-07-06 01:56:05 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2009-07-06 01:56:05 -0400 |
commit | 42e7318b620ad73bd16b28b8f4d648350a337604 (patch) | |
tree | 0687e0b134642e19afd40a35eaf37a961c8fb106 /gtk/gtkinfobar.c | |
parent | 91868f5e767619985170305ac56a3dc1d851b1ea (diff) | |
download | gtk+-42e7318b620ad73bd16b28b8f4d648350a337604.tar.gz |
Fix redraw issues in GtkInfoBar
This was reported in bug 587716. I have no idea why this used
to work just fine for me...
Diffstat (limited to 'gtk/gtkinfobar.c')
-rw-r--r-- | gtk/gtkinfobar.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/gtk/gtkinfobar.c b/gtk/gtkinfobar.c index 568bd798ef..9ada2c93a3 100644 --- a/gtk/gtkinfobar.c +++ b/gtk/gtkinfobar.c @@ -330,8 +330,8 @@ gtk_info_bar_expose (GtkWidget *widget, detail, widget->allocation.x, widget->allocation.y, - widget->allocation.width + 1, - widget->allocation.height + 1); + widget->allocation.width, + widget->allocation.height); } if (GTK_WIDGET_CLASS (gtk_info_bar_parent_class)->expose_event) @@ -625,6 +625,7 @@ gtk_info_bar_init (GtkInfoBar *info_bar) gtk_box_pack_start (GTK_BOX (info_bar), action_area, FALSE, TRUE, 0); gtk_widget_set_app_paintable (GTK_WIDGET (info_bar), TRUE); + gtk_widget_set_redraw_on_allocate (GTK_WIDGET (info_bar), TRUE); info_bar->priv->content_area = content_area; info_bar->priv->action_area = action_area; |