]> Dogcows Code - chaz/openbox/commitdiff
why did i save that return value?
authorMikael Magnusson <mikachu@comhem.se>
Sat, 19 Aug 2006 04:19:57 +0000 (04:19 +0000)
committerMikael Magnusson <mikachu@comhem.se>
Sat, 19 Aug 2006 04:19:57 +0000 (04:19 +0000)
render/font.c

index d371e8ef23c652eeef96ad45bb59a5e9cc572dea..4d9e0adf984d6acdcf9099afbbe4d33d6f60fd3d 100644 (file)
@@ -134,7 +134,6 @@ static RrFont *openfont(const RrInstance *inst, gchar *fontstring)
     }
 
     /* based on gtkmain.c gtk_get_default_language() */
-    PangoLanguage *ln;
     gchar *locale, *p;
     locale = g_strdup(setlocale(LC_CTYPE, NULL));
     if ((p = strchr(locale, '.')))
@@ -143,7 +142,7 @@ static RrFont *openfont(const RrInstance *inst, gchar *fontstring)
         *p = '\0';
     PangoFontMetrics *metrics = 
         pango_context_get_metrics(context, out->pango_font_description,
-                                  ln = pango_language_from_string(locale));
+                                  pango_language_from_string(locale));
     out->pango_ascent = pango_font_metrics_get_ascent(metrics);
     out->pango_descent = pango_font_metrics_get_descent(metrics);
     g_free(locale);
This page took 0.023695 seconds and 4 git commands to generate.