[gtk+/wip/window-scales2: 31/40] spinbutton: set the window on the icon helper



commit 41a6780f2246e98e6b7f39848e82cdef2e39b5b6
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]