Fix return value error in gtk_font_chooser_get_font_map

https://bugzilla.gnome.org/show_bug.cgi?id=749248
This commit is contained in:
Ting-Wei Lan 2015-05-12 10:23:59 +08:00 committed by Matthias Clasen
parent cfc07fdfcf
commit a1e418ebd5

View File

@ -485,7 +485,7 @@ gtk_font_chooser_get_font_map (GtkFontChooser *fontchooser)
{
PangoFontMap *fontmap;
g_return_if_fail (GTK_IS_FONT_CHOOSER (fontchooser));
g_return_val_if_fail (GTK_IS_FONT_CHOOSER (fontchooser), NULL);
g_object_get (fontchooser, "font-map", &fontmap, NULL);