[gthumb] catalogs: ignore errors when trying to load a library
- From: Paolo Bacchilega <paobac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gthumb] catalogs: ignore errors when trying to load a library
- Date: Sat, 20 Apr 2019 16:31:44 +0000 (UTC)
commit d411afc2694704677d4bdf46d65b1a5e82e3c938
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 8dcae0b5..ca622e85 100644
--- a/extensions/catalogs/gth-file-source-catalogs.c
+++ b/extensions/catalogs/gth-file-source-catalogs.c
@@ -1320,7 +1320,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]