[gthumb] crash if trying to delete image on sftp mounted
- From: Paolo Bacchilega <paobac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gthumb] crash if trying to delete image on sftp mounted
- Date: Wed, 23 Dec 2015 20:13:06 +0000 (UTC)
commit 7047ea7db697bf04913a87025990ea12f2e537a4
Author: Paolo Bacchilega <paobac src gnome org>
Date: Wed Dec 23 21:12:13 2015 +0100
crash if trying to delete image on sftp mounted
do not free the error in the signal callback
[bug #759727]
gthumb/gth-file-source-vfs.c | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/gthumb/gth-file-source-vfs.c b/gthumb/gth-file-source-vfs.c
index c8c8998..fc89bea 100644
--- a/gthumb/gth-file-source-vfs.c
+++ b/gthumb/gth-file-source-vfs.c
@@ -746,8 +746,6 @@ trash_task_completed_cb (GthTask *task,
else if (g_error_matches (error, G_IO_ERROR, G_IO_ERROR_NOT_SUPPORTED)) {
GtkWidget *d;
- g_clear_error (&error);
-
d = _gtk_yesno_dialog_new (tdata->window,
GTK_DIALOG_MODAL,
_("The files cannot be moved to the Trash. Do you want to delete
them permanently?"),
@@ -761,7 +759,6 @@ trash_task_completed_cb (GthTask *task,
}
else {
_gtk_error_dialog_from_gerror_show (tdata->window, _("Could not move the files to the
Trash"), error);
- g_clear_error (&error);
trash_data_free (tdata);
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]