From e2adde1fc915569e88152391fda8b0244b095ee2 Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Mon, 14 Mar 2011 14:09:36 -0500 Subject: Noticing a missing unref --- src/application-service-appstore.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/application-service-appstore.c') diff --git a/src/application-service-appstore.c b/src/application-service-appstore.c index 5f343e5..faf6dc0 100644 --- a/src/application-service-appstore.c +++ b/src/application-service-appstore.c @@ -486,6 +486,7 @@ got_all_properties (GObject * source_object, GAsyncResult * res, } /* else ignore */ } g_variant_iter_free (iter); + g_variant_unref(properties); if (menu == NULL || id == NULL || category == NULL || status == NULL || icon_name == NULL) { -- cgit v1.2.3 From e5d2b6bd554e9dbc790c8b72463e48c1deeee70c Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Mon, 14 Mar 2011 14:19:10 -0500 Subject: Do a sort after deciding the ordering ID --- src/application-service-appstore.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/application-service-appstore.c') diff --git a/src/application-service-appstore.c b/src/application-service-appstore.c index faf6dc0..43d9e23 100644 --- a/src/application-service-appstore.c +++ b/src/application-service-appstore.c @@ -525,6 +525,7 @@ got_all_properties (GObject * source_object, GAsyncResult * res, app->ordering_index = GPOINTER_TO_UINT(ordering_index_over); } g_debug("'%s' ordering index is '%X'", app->id, app->ordering_index); + app->appstore->priv->applications = g_list_sort_with_data(app->appstore->priv->applications, app_sort_func, NULL); if (label != NULL) { app->label = g_variant_dup_string(label, NULL); -- cgit v1.2.3 From 31299f3d0b47b350057886b90094e9b5552c6b69 Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Mon, 14 Mar 2011 14:33:22 -0500 Subject: Debug message on missing override file. --- src/application-service-appstore.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/application-service-appstore.c') diff --git a/src/application-service-appstore.c b/src/application-service-appstore.c index 43d9e23..b0f4a0c 100644 --- a/src/application-service-appstore.c +++ b/src/application-service-appstore.c @@ -374,6 +374,7 @@ load_override_file (GHashTable * hash, const gchar * filename) g_return_if_fail(filename != NULL); if (!g_file_test(filename, G_FILE_TEST_EXISTS)) { + g_debug("Override file '%s' doesn't exist"); return; } -- cgit v1.2.3 From b29c6f2c3243a688a3962ccf10d657f97bb08983 Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Mon, 14 Mar 2011 14:33:49 -0500 Subject: Debug message on missing override file. --- src/application-service-appstore.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/application-service-appstore.c') diff --git a/src/application-service-appstore.c b/src/application-service-appstore.c index b0f4a0c..91fd226 100644 --- a/src/application-service-appstore.c +++ b/src/application-service-appstore.c @@ -374,7 +374,7 @@ load_override_file (GHashTable * hash, const gchar * filename) g_return_if_fail(filename != NULL); if (!g_file_test(filename, G_FILE_TEST_EXISTS)) { - g_debug("Override file '%s' doesn't exist"); + g_debug("Override file '%s' doesn't exist", filename); return; } -- cgit v1.2.3