summaryrefslogtreecommitdiffstats
path: root/meta/recipes-gnome/gtk+/gtk+-2.24.6/cellrenderer-cairo.patch
diff options
context:
space:
mode:
authorZhai Edwin <edwin.zhai@intel.com>2011-11-30 07:24:12 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-11-30 22:18:08 +0000
commit26b667cfcb659417e2a8e975e0f49747094c2e45 (patch)
tree36599437276e7308048682582fa234bf201be557 /meta/recipes-gnome/gtk+/gtk+-2.24.6/cellrenderer-cairo.patch
parent77d5a0c4c47d18d7a477fa79dcf982a001201801 (diff)
downloadpoky-26b667cfcb659417e2a8e975e0f49747094c2e45.tar.gz
gtk+: Upgrade to 2.24.8
(From OE-Core rev: c9dab6fda614051d9ed869a1ec42f4212726b313) Signed-off-by: Zhai Edwin <edwin.zhai@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-gnome/gtk+/gtk+-2.24.6/cellrenderer-cairo.patch')
-rw-r--r--meta/recipes-gnome/gtk+/gtk+-2.24.6/cellrenderer-cairo.patch31
1 files changed, 0 insertions, 31 deletions
diff --git a/meta/recipes-gnome/gtk+/gtk+-2.24.6/cellrenderer-cairo.patch b/meta/recipes-gnome/gtk+/gtk+-2.24.6/cellrenderer-cairo.patch
deleted file mode 100644
index ba893292d6..0000000000
--- a/meta/recipes-gnome/gtk+/gtk+-2.24.6/cellrenderer-cairo.patch
+++ /dev/null
@@ -1,31 +0,0 @@
1Upstream-Status: Pending
2
3Index: gtk/gtkcellrenderer.c
4===================================================================
5--- gtk/gtkcellrenderer.c.orig 2010-06-22 17:21:22.000000000 +0800
6+++ gtk/gtkcellrenderer.c 2010-06-22 17:21:25.000000000 +0800
7@@ -566,6 +566,7 @@
8
9 if (cell->cell_background_set && !selected)
10 {
11+#ifdef USE_CAIRO_INTERNALLY
12 cairo_t *cr = gdk_cairo_create (window);
13
14 gdk_cairo_rectangle (cr, background_area);
15@@ -573,6 +574,16 @@
16 cairo_fill (cr);
17
18 cairo_destroy (cr);
19+#else
20+ GdkGC *gc;
21+
22+ gc = gdk_gc_new (window);
23+ gdk_gc_set_rgb_fg_color (gc, &priv->cell_background);
24+ gdk_draw_rectangle (window, gc, TRUE,
25+ background_area->x, background_area->y,
26+ background_area->width, background_area->height);
27+ g_object_unref (gc);
28+#endif
29 }
30
31 GTK_CELL_RENDERER_GET_CLASS (cell)->render (cell,