mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-14 12:41:07 +00:00
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:
parent
cfc07fdfcf
commit
a1e418ebd5
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user