[gtk+/wip/window-scales2: 32/40] CellRendererPixbuf: Set the window on the icon helper
- From: Alexander Larsson <alexl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/window-scales2: 32/40] CellRendererPixbuf: Set the window on the icon helper
- Date: Wed, 3 Jul 2013 12:44:39 +0000 (UTC)
commit 07519abcde4e1b5fcb82c18c64716cca7b0920fb
Author: Alexander Larsson <alexl redhat com>
Date: Wed Jun 26 11:28:33 2013 +0200
CellRendererPixbuf: Set the window on the icon helper
This lets us get scaled icons if needed.
gtk/gtkcellrendererpixbuf.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkcellrendererpixbuf.c b/gtk/gtkcellrendererpixbuf.c
index dc25648..19795b8 100644
--- a/gtk/gtkcellrendererpixbuf.c
+++ b/gtk/gtkcellrendererpixbuf.c
@@ -552,6 +552,8 @@ gtk_cell_renderer_pixbuf_render (GtkCellRenderer *cell,
if (icon_helper == NULL)
icon_helper = g_object_ref (priv->icon_helper);
+ _gtk_icon_helper_set_window (icon_helper,
+ gtk_widget_get_window (widget));
_gtk_icon_helper_draw (icon_helper,
context, cr,
pix_rect.x, pix_rect.y);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]