[gnome-software] trivial: Do not open the PkDesktop database twice
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software] trivial: Do not open the PkDesktop database twice
- Date: Thu, 7 Mar 2013 16:06:19 +0000 (UTC)
commit 3e3b9f37c6c95297762490e985fa7156d6552146
Author: Richard Hughes <richard hughsie com>
Date: Thu Mar 7 09:37:52 2013 +0000
trivial: Do not open the PkDesktop database twice
src/gs-main.c | 6 ------
1 files changed, 0 insertions(+), 6 deletions(-)
---
diff --git a/src/gs-main.c b/src/gs-main.c
index e304b97..12da546 100644
--- a/src/gs-main.c
+++ b/src/gs-main.c
@@ -1575,12 +1575,6 @@ main (int argc, char **argv)
goto out;
}
- /* get localized data from sqlite database */
- priv->desktop = pk_desktop_new ();
- ret = pk_desktop_open_database (priv->desktop, NULL);
- if (!ret)
- g_warning ("Failure opening database");
-
/* get blacklisted app-ids */
data = g_resource_lookup_data (gs_get_resource (),
"/org/gnome/software/core-apps.txt",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]