[gnome-software] trivial: Return the correct error domain from setup()
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software] trivial: Return the correct error domain from setup()
- Date: Tue, 10 May 2016 07:53:06 +0000 (UTC)
commit 7b75134afd87d433466a621a017bd3fc55cc2c74
Author: Richard Hughes <richard hughsie com>
Date: Tue May 10 08:21:38 2016 +0100
trivial: Return the correct error domain from setup()
src/plugins/gs-plugin-appstream.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/plugins/gs-plugin-appstream.c b/src/plugins/gs-plugin-appstream.c
index ffd570a..1938490 100644
--- a/src/plugins/gs-plugin-appstream.c
+++ b/src/plugins/gs-plugin-appstream.c
@@ -182,8 +182,8 @@ gs_plugin_setup (GsPlugin *plugin, GCancellable *cancellable, GError **error)
if (items->len == 0) {
g_warning ("No AppStream data, try 'make install-sample-data' in data/");
g_set_error (error,
- GS_PLUGIN_LOADER_ERROR,
- GS_PLUGIN_LOADER_ERROR_FAILED,
+ GS_PLUGIN_ERROR,
+ GS_PLUGIN_ERROR_FAILED,
"No AppStream data found");
return FALSE;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]