diff options
author | Denys Dmytriyenko <denis@denix.org> | 2009-03-17 14:32:59 -0400 |
---|---|---|
committer | Denys Dmytriyenko <denis@denix.org> | 2009-03-17 14:32:59 -0400 |
commit | 709c4d66e0b107ca606941b988bad717c0b45d9b (patch) | |
tree | 37ee08b1eb308f3b2b6426d5793545c38396b838 /recipes/gtkhtml/gtkhtml-3.0 | |
parent | fa6cd5a3b993f16c27de4ff82b42684516d433ba (diff) |
rename packages/ to recipes/ per earlier agreement
See links below for more details:
http://thread.gmane.org/gmane.comp.handhelds.openembedded/21326
http://thread.gmane.org/gmane.comp.handhelds.openembedded/21816
Signed-off-by: Denys Dmytriyenko <denis@denix.org>
Acked-by: Mike Westerhof <mwester@dls.net>
Acked-by: Philip Balister <philip@balister.org>
Acked-by: Khem Raj <raj.khem@gmail.com>
Acked-by: Marcin Juszkiewicz <hrw@openembedded.org>
Acked-by: Koen Kooi <koen@openembedded.org>
Acked-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
Diffstat (limited to 'recipes/gtkhtml/gtkhtml-3.0')
-rw-r--r-- | recipes/gtkhtml/gtkhtml-3.0/fix-missing-colormap.patch | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/recipes/gtkhtml/gtkhtml-3.0/fix-missing-colormap.patch b/recipes/gtkhtml/gtkhtml-3.0/fix-missing-colormap.patch new file mode 100644 index 0000000000..6ec7409bd4 --- /dev/null +++ b/recipes/gtkhtml/gtkhtml-3.0/fix-missing-colormap.patch @@ -0,0 +1,36 @@ +--- gtkhtml-3.0.10/src/htmlgdkpainter.c.orig 2004-07-23 17:07:05.000000000 +0100 ++++ gtkhtml-3.0.10/src/htmlgdkpainter.c 2004-07-23 17:17:09.000000000 +0100 +@@ -277,22 +277,19 @@ + begin (HTMLPainter *painter, int x1, int y1, int x2, int y2) + { + HTMLGdkPainter *gdk_painter; +- GdkVisual *visual; + + /* printf ("painter begin %d,%d %d,%d\n", x1, y1, x2, y2); */ + + gdk_painter = HTML_GDK_PAINTER (painter); + g_return_if_fail (gdk_painter->window != NULL); +- visual = gdk_drawable_get_visual (gdk_painter->window); +- g_return_if_fail (visual != NULL); + + if (gdk_painter->double_buffer){ + const int width = x2 - x1 + 1; + const int height = y2 - y1 + 1; + + g_assert (gdk_painter->pixmap == NULL); +- +- gdk_painter->pixmap = gdk_pixmap_new (gdk_painter->pixmap, width, height, visual->depth); ++ ++ gdk_painter->pixmap = gdk_pixmap_new (gdk_painter->window, width, height, -1); + gdk_painter->x1 = x1; + gdk_painter->y1 = y1; + gdk_painter->x2 = x2; +@@ -313,6 +310,8 @@ + gdk_painter->x2 = 0; + gdk_painter->y2 = 0; + } ++ ++ g_assert(gdk_drawable_get_colormap(gdk_painter->pixmap) != NULL); + } + + static void |