[gnome-software] Only add the xdg-app nightly versions when compiling without PackageKit
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software] Only add the xdg-app nightly versions when compiling without PackageKit
- Date: Tue, 2 Feb 2016 17:27:56 +0000 (UTC)
commit dae8ded052d48a4c764f97ca358f375af149188a
Author: Richard Hughes <richard hughsie com>
Date: Tue Feb 2 17:27:04 2016 +0000
Only add the xdg-app nightly versions when compiling without PackageKit
src/plugins/gs-plugin-xdg-app.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/plugins/gs-plugin-xdg-app.c b/src/plugins/gs-plugin-xdg-app.c
index 47649df..a3b52fb 100644
--- a/src/plugins/gs-plugin-xdg-app.c
+++ b/src/plugins/gs-plugin-xdg-app.c
@@ -87,6 +87,7 @@ gs_plugin_destroy (GsPlugin *plugin)
g_object_unref (plugin->priv->monitor);
}
+#ifndef HAVE_PACKAGEKIT
/**
* gs_plugin_add_popular:
*/
@@ -106,7 +107,6 @@ gs_plugin_add_popular (GsPlugin *plugin,
"org.gnome.Evince.desktop",
"org.gnome.gedit.desktop",
"org.gnome.Maps.desktop",
- "org.gnome.Software.desktop",
"org.gnome.Weather.desktop",
NULL };
@@ -118,6 +118,7 @@ gs_plugin_add_popular (GsPlugin *plugin,
}
return TRUE;
}
+#endif
/**
* gs_plugin_xdg_app_changed_cb:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]