diff options
author | Robert Bradford <rob@openedhand.com> | 2008-09-23 16:57:57 +0000 |
---|---|---|
committer | Robert Bradford <rob@openedhand.com> | 2008-09-23 16:57:57 +0000 |
commit | 887b8dea03d76d1abb1f65df9173627d729c09f3 (patch) | |
tree | 6a4f5c2ea55178e24b3b4f6a3d020dea9324f37f /meta/packages/gtk+/gtk+-2.14.2/cellrenderer-cairo.patch | |
parent | 57fbca3b65d4352b6dd16b12e36e94279b81327e (diff) | |
download | openembedded-core-887b8dea03d76d1abb1f65df9173627d729c09f3.tar.gz openembedded-core-887b8dea03d76d1abb1f65df9173627d729c09f3.tar.bz2 openembedded-core-887b8dea03d76d1abb1f65df9173627d729c09f3.tar.xz openembedded-core-887b8dea03d76d1abb1f65df9173627d729c09f3.zip |
gtk+: Add gtk+ 2.14.2
(with rebased hardcoded_libtool.patch and new disable-gio-png-sniff-test.diff)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5250 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/gtk+/gtk+-2.14.2/cellrenderer-cairo.patch')
-rw-r--r-- | meta/packages/gtk+/gtk+-2.14.2/cellrenderer-cairo.patch | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/meta/packages/gtk+/gtk+-2.14.2/cellrenderer-cairo.patch b/meta/packages/gtk+/gtk+-2.14.2/cellrenderer-cairo.patch new file mode 100644 index 000000000..4439e69fb --- /dev/null +++ b/meta/packages/gtk+/gtk+-2.14.2/cellrenderer-cairo.patch @@ -0,0 +1,32 @@ +Index: gtk/gtkcellrenderer.c +=================================================================== +RCS file: /cvs/gnome/gtk+/gtk/gtkcellrenderer.c,v +retrieving revision 1.55 +diff -u -r1.55 gtkcellrenderer.c +--- gtk/gtkcellrenderer.c 14 May 2006 04:25:28 -0000 1.55 ++++ gtk/gtkcellrenderer.c 30 Jun 2006 10:57:43 -0000 +@@ -551,6 +551,7 @@ + + if (cell->cell_background_set && !selected) + { ++#ifdef USE_CAIRO_INTERNALLY + cairo_t *cr = gdk_cairo_create (window); + + gdk_cairo_rectangle (cr, background_area); +@@ -558,6 +559,16 @@ + cairo_fill (cr); + + cairo_destroy (cr); ++#else ++ GdkGC *gc; ++ ++ gc = gdk_gc_new (window); ++ gdk_gc_set_rgb_fg_color (gc, &priv->cell_background); ++ gdk_draw_rectangle (window, gc, TRUE, ++ background_area->x, background_area->y, ++ background_area->width, background_area->height); ++ g_object_unref (gc); ++#endif + } + + GTK_CELL_RENDERER_GET_CLASS (cell)->render (cell, |