[gnome-software] Depend on a new appstream-glib
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software] Depend on a new appstream-glib
- Date: Tue, 6 May 2014 12:08:21 +0000 (UTC)
commit 9d496ec2c36384549cb548d9fba3e8266529d292
Author: Richard Hughes <richard hughsie com>
Date: Tue May 6 13:08:11 2014 +0100
Depend on a new appstream-glib
configure.ac | 2 +-
src/plugins/gs-plugin-appstream.c | 19 -------------------
2 files changed, 1 insertions(+), 20 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 4161442..26e3ab3 100644
--- a/configure.ac
+++ b/configure.ac
@@ -61,7 +61,7 @@ dnl - Check library dependencies
dnl ---------------------------------------------------------------------------
PKG_CHECK_MODULES(GTK, gtk+-3.0 >= 3.11.5 gio-unix-2.0)
PKG_CHECK_MODULES(PACKAGEKIT, packagekit-glib2 >= 0.8.12)
-PKG_CHECK_MODULES(APPSTREAM, appstream-glib >= 0.1.3)
+PKG_CHECK_MODULES(APPSTREAM, appstream-glib >= 0.1.5)
PKG_CHECK_MODULES(SQLITE, sqlite3)
PKG_CHECK_MODULES(SOUP, libsoup-2.4)
PKG_CHECK_MODULES(GSETTINGS_DESKTOP_SCHEMAS, gsettings-desktop-schemas >= 3.11.5)
diff --git a/src/plugins/gs-plugin-appstream.c b/src/plugins/gs-plugin-appstream.c
index d474a45..389a811 100644
--- a/src/plugins/gs-plugin-appstream.c
+++ b/src/plugins/gs-plugin-appstream.c
@@ -45,25 +45,6 @@ gs_plugin_get_name (void)
}
/**
- * as_app_has_category:
- */
-static gboolean
-as_app_has_category (AsApp *app, const gchar *category)
-{
- GPtrArray *categories;
- const gchar *tmp;
- guint i;
-
- categories = as_app_get_categories (app);
- for (i = 0; i < categories->len; i++) {
- tmp = g_ptr_array_index (categories, i);
- if (g_strcmp0 (tmp, category) == 0)
- return TRUE;
- }
- return FALSE;
-}
-
-/**
* as_app_has_compulsory_for_desktop:
*/
static gboolean
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]