diff options
author | Benjamin Otte <otte@redhat.com> | 2013-06-20 18:35:14 +0200 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2013-06-21 02:59:23 +0200 |
commit | 8623d73c119011556ea3d5819e25d3fa087e7c7d (patch) | |
tree | d9c440b600f44053ccc4c48e80c917f856fa6b6f /gtk/gtkfilechooser.c | |
parent | 5c61e457c8d75b6609d8b7fe8f4384ea6d6a1dbf (diff) | |
download | gtk+-8623d73c119011556ea3d5819e25d3fa087e7c7d.tar.gz |
filechooser: Actually return a value
Diffstat (limited to 'gtk/gtkfilechooser.c')
-rw-r--r-- | gtk/gtkfilechooser.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkfilechooser.c b/gtk/gtkfilechooser.c index bce7f442f9..82eb85a3f8 100644 --- a/gtk/gtkfilechooser.c +++ b/gtk/gtkfilechooser.c @@ -1375,7 +1375,7 @@ gtk_file_chooser_set_current_name (GtkFileChooser *chooser, gchar * gtk_file_chooser_get_current_name (GtkFileChooser *chooser) { - g_return_if_fail (GTK_IS_FILE_CHOOSER (chooser)); + g_return_val_if_fail (GTK_IS_FILE_CHOOSER (chooser), NULL); return GTK_FILE_CHOOSER_GET_IFACE (chooser)->get_current_name (chooser); } |