Commit d411afc2 authored by Paolo Bacchilega's avatar Paolo Bacchilega

catalogs: ignore errors when trying to load a library

parent 2faea49d
......@@ -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);
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