Commit d1e2b2c1 authored by Jehan's avatar Jehan

app: gimp_file_dialog_get_default_folder() must return a value.

parent a2a5ed29
...@@ -635,7 +635,7 @@ gimp_file_dialog_set_file_proc (GimpFileDialog *dialog, ...@@ -635,7 +635,7 @@ gimp_file_dialog_set_file_proc (GimpFileDialog *dialog,
GFile * GFile *
gimp_file_dialog_get_default_folder (GimpFileDialog *dialog) gimp_file_dialog_get_default_folder (GimpFileDialog *dialog)
{ {
g_return_if_fail (GIMP_IS_FILE_DIALOG (dialog)); g_return_val_if_fail (GIMP_IS_FILE_DIALOG (dialog), NULL);
GIMP_FILE_DIALOG_GET_CLASS (dialog)->get_default_folder (dialog); GIMP_FILE_DIALOG_GET_CLASS (dialog)->get_default_folder (dialog);
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment