[gthumb/gthumb-3-6] catalogs: ignore errors when trying to load a library
- From: Paolo Bacchilega <paobac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gthumb/gthumb-3-6] catalogs: ignore errors when trying to load a library
- Date: Sat, 20 Apr 2019 16:56:18 +0000 (UTC)
commit 69ee6967d81a828342a3e127b1beb8af7a51ab4d
Author: Paolo Bacchilega <paobac src gnome org>
Date: Sat Apr 20 18:29:16 2019 +0200
catalogs: ignore errors when trying to load a library
extensions/catalogs/gth-file-source-catalogs.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/extensions/catalogs/gth-file-source-catalogs.c b/extensions/catalogs/gth-file-source-catalogs.c
index 981a0104..115eea84 100644
--- a/extensions/catalogs/gth-file-source-catalogs.c
+++ b/extensions/catalogs/gth-file-source-catalogs.c
@@ -1318,7 +1318,7 @@ static void
remove_from_catalog_end (GError *error,
RemoveFromCatalogData *data)
{
- if (error != NULL)
+ if ((data->catalog != NULL) && (error != NULL))
_gtk_error_dialog_from_gerror_show (data->parent, _("Could not remove the files from the
catalog"), error);
_g_object_unref (data->catalog);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]