[gthumb] overwrite dialog: source can be null, destination cannot
- From: Paolo Bacchilega <paobac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gthumb] overwrite dialog: source can be null, destination cannot
- Date: Sat, 20 Apr 2019 16:31:08 +0000 (UTC)
commit dbf1cc713c4ad1eb9e252597fcbc65aa6f429fa6
Author: Paolo Bacchilega <paobac src gnome org>
Date: Sat Apr 20 13:28:36 2019 +0200
overwrite dialog: source can be null, destination cannot
gthumb/gth-overwrite-dialog.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gthumb/gth-overwrite-dialog.c b/gthumb/gth-overwrite-dialog.c
index a1bd0bf1..ca283dea 100644
--- a/gthumb/gth-overwrite-dialog.c
+++ b/gthumb/gth-overwrite-dialog.c
@@ -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 (),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]