Source: sawfish
Version: 1:1.5.3-2.1
Severity: important
User: pkg-gnome-maintain...@lists.alioth.debian.org
Usertags: oldlibs pangox

Hi,

sawfish calls a pango_x_ function without guarding the call by an appropriate HAVE_PANGO_X. Since pangox is going away, guarding it will avoid a FTBFS in the future. Please see the attached patch.

Thanks,
Emilio
Description: Guard pango_x_ functions
Bug-Debian: 
Author: Emilio Pozuelo Monfort <po...@debian.org>

--- a/src/fonts.c
+++ b/src/fonts.c
@@ -514,9 +514,9 @@
 #ifdef HAVE_PANGO_XFT
 	if (PANGO_XFT_IS_FONT (font))
 	    pango_xft_render (draw, xft_color, font, glyphs, x, y);
-	else
+#else
+	pango_x_render (dpy, id, gc, font, glyphs, x, y);
 #endif
-	    pango_x_render (dpy, id, gc, font, glyphs, x, y);
 
 	x += rect.width / PANGO_SCALE;
     }

Reply via email to