diff options
author | Ting-Wei Lan <lantw@src.gnome.org> | 2015-05-12 10:23:59 +0800 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2015-05-12 07:22:32 -0400 |
commit | a1e418ebd527a227722c0a8e1191241fe35bfdcf (patch) | |
tree | 6cf45feada0b0075af81aa113732dd8c456e3d5f /gtk/gtkfontchooser.c | |
parent | cfc07fdfcf4811e0edbaf941970ac2653d57afd8 (diff) | |
download | gtk+-a1e418ebd527a227722c0a8e1191241fe35bfdcf.tar.gz |
Fix return value error in gtk_font_chooser_get_font_map
https://bugzilla.gnome.org/show_bug.cgi?id=749248
Diffstat (limited to 'gtk/gtkfontchooser.c')
-rw-r--r-- | gtk/gtkfontchooser.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkfontchooser.c b/gtk/gtkfontchooser.c index bd99deee01..d295ce042c 100644 --- a/gtk/gtkfontchooser.c +++ b/gtk/gtkfontchooser.c @@ -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); |