summaryrefslogtreecommitdiffstats
path: root/abs/extra-testing/bmp/0.9.7-visualization.patch
diff options
context:
space:
mode:
authorCecil Hugh Watson <knoppmyth@gmail.com>2009-01-16 07:11:46 (GMT)
committerCecil Hugh Watson <knoppmyth@gmail.com>2009-01-16 07:11:46 (GMT)
commitd6c85a0a72bdf795006af4855f633e376f7fc9f2 (patch)
tree72a5a1fc5b530820c387f89adcdd2dea326f23d8 /abs/extra-testing/bmp/0.9.7-visualization.patch
parentfac3c8c6017a5f39ca1aca36f01493fa016d962c (diff)
downloadlinhes_pkgbuild-d6c85a0a72bdf795006af4855f633e376f7fc9f2.zip
linhes_pkgbuild-d6c85a0a72bdf795006af4855f633e376f7fc9f2.tar.gz
linhes_pkgbuild-d6c85a0a72bdf795006af4855f633e376f7fc9f2.tar.bz2
Various packages need for LCDproc.
Diffstat (limited to 'abs/extra-testing/bmp/0.9.7-visualization.patch')
-rw-r--r--abs/extra-testing/bmp/0.9.7-visualization.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/abs/extra-testing/bmp/0.9.7-visualization.patch b/abs/extra-testing/bmp/0.9.7-visualization.patch
new file mode 100644
index 0000000..ac03323
--- /dev/null
+++ b/abs/extra-testing/bmp/0.9.7-visualization.patch
@@ -0,0 +1,12 @@
+--- beep/vis.c 2004-12-04 10:04:29.000000000 +0100
++++ beep/vis.c 2005-02-17 12:02:25.391044008 +0100
+@@ -223,7 +223,8 @@ vis_draw(Widget * w)
+ /* FIXME: The check "shouldn't" be neccessary? */
+ /* if (GTK_IS_WINDOW(vis->vs_window)) { */
+ GDK_THREADS_ENTER();
+- gdk_draw_indexed_image(vis->vs_window, vis->vs_widget.gc,
++ if (GDK_IS_DRAWABLE(vis->vs_window))
++ gdk_draw_indexed_image(vis->vs_window, vis->vs_widget.gc,
+ vis->vs_widget.x, vis->vs_widget.y,
+ vis->vs_widget.width, vis->vs_widget.height,
+ GDK_RGB_DITHER_NORMAL, (guchar *) rgb_data,