summaryrefslogtreecommitdiff
path: root/gtk/gtklayout.c
diff options
context:
space:
mode:
authorSøren Sandmann <sandmann@redhat.com>2006-05-15 19:17:30 +0000
committerSøren Sandmann Pedersen <ssp@src.gnome.org>2006-05-15 19:17:30 +0000
commit6cb19cf3ad8f04e6361a8f261db89a697d6ed12a (patch)
treead5d805683c6e42e4bba9dcf249113c71e831eeb /gtk/gtklayout.c
parent4080181c456860d0a40f40394d3bd0d54f6057cc (diff)
downloadgtk+-6cb19cf3ad8f04e6361a8f261db89a697d6ed12a.tar.gz
gtk/gtklayout.c (gtk_layout_realize), gtk/gtkiconview.c
Mon May 15 15:12:05 2006 Søren Sandmann <sandmann@redhat.com> * gtk/gtklayout.c (gtk_layout_realize), * gtk/gtkiconview.c (gtk_icon_view_realize), * gtk/gtktreeview.c (gtk_tree_view_realize): Set the background of the clip windows to NULL, since they are generally invisible and don't have EXPOSURE set, which means they temp-unvlicker code doesn't apply to them. * gdk/x11/gdkgeometry-x11.c (_gdk_window_move_resize_child): Unset the background of the parent window during resizing. Invalidate the uncoered area of the parent window. Bug 341332.
Diffstat (limited to 'gtk/gtklayout.c')
-rw-r--r--gtk/gtklayout.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtklayout.c b/gtk/gtklayout.c
index abc3e8b785..401b4a52a3 100644
--- a/gtk/gtklayout.c
+++ b/gtk/gtklayout.c
@@ -842,6 +842,7 @@ gtk_layout_realize (GtkWidget *widget)
widget->window = gdk_window_new (gtk_widget_get_parent_window (widget),
&attributes, attributes_mask);
+ gdk_window_set_back_pixmap (widget->window, NULL, FALSE);
gdk_window_set_user_data (widget->window, widget);
attributes.x = - layout->hadjustment->value,
@@ -856,7 +857,6 @@ gtk_layout_realize (GtkWidget *widget)
gdk_window_set_user_data (layout->bin_window, widget);
widget->style = gtk_style_attach (widget->style, widget->window);
- gtk_style_set_background (widget->style, widget->window, GTK_STATE_NORMAL);
gtk_style_set_background (widget->style, layout->bin_window, GTK_STATE_NORMAL);
tmp_list = layout->children;