[gtk+/wip/window-scales: 73/84] spinbutton: set the window on the icon helper



commit 5fae732faef21f352d416a86847130e5446f3e5d
Author: Alexander Larsson <alexl redhat com>
Date:   Tue Jun 25 14:38:08 2013 +0200

    spinbutton: set the window on the icon helper

 gtk/gtkspinbutton.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkspinbutton.c b/gtk/gtkspinbutton.c
index 0f97078..ccdccd4 100644
--- a/gtk/gtkspinbutton.c
+++ b/gtk/gtkspinbutton.c
@@ -1001,6 +1001,7 @@ gtk_spin_button_panel_draw (GtkSpinButton   *spin_button,
   width = gdk_window_get_width (panel);
 
   icon_helper = _gtk_icon_helper_new ();
+  _gtk_icon_helper_set_window (icon_helper, panel);
   _gtk_icon_helper_set_use_fallback (icon_helper, TRUE);
 
   if (panel == priv->down_panel)


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