pango r2756 - in trunk: . pango



Author: behdad
Date: Tue Dec  9 21:42:06 2008
New Revision: 2756
URL: http://svn.gnome.org/viewvc/pango?rev=2756&view=rev

Log:
2008-12-09  Behdad Esfahbod  <behdad gnome org>

        * pango/pangoxft-font.c (pango_xft_font_init),
        (load_fallback_font): Don't call exit().  Let us crash.

Modified:
   trunk/ChangeLog
   trunk/pango/pangoxft-font.c

Modified: trunk/pango/pangoxft-font.c
==============================================================================
--- trunk/pango/pangoxft-font.c	(original)
+++ trunk/pango/pangoxft-font.c	Tue Dec  9 21:42:06 2008
@@ -76,7 +76,7 @@
 }
 
 static void
-pango_xft_font_init (PangoXftFont *xftfont)
+pango_xft_font_init (PangoXftFont *xftfont G_GNUC_UNUSED)
 {
 }
 
@@ -371,12 +371,6 @@
 			  size_is_absolute ? FC_PIXEL_SIZE : FC_SIZE, FcTypeDouble, size,
 			  NULL);
 
-  if (!xft_font)
-    {
-      g_warning ("Cannot open fallback font, nothing to do");
-      exit (1);
-    }
-
   xfont->xft_font = xft_font;
 }
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]