Commit dbf1cc71 authored by Paolo Bacchilega's avatar Paolo Bacchilega

overwrite dialog: source can be null, destination cannot

parent 03884665
......@@ -333,7 +333,7 @@ gth_overwrite_dialog_new (GFile *source,
{
GthOverwriteDialog *self;
g_return_val_if_fail (G_IS_FILE (source), NULL);
g_return_val_if_fail (G_IS_FILE (destination), NULL);
self = g_object_new (GTH_TYPE_OVERWRITE_DIALOG,
"use-header-bar", _gtk_settings_get_dialogs_use_header (),
......
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