From a140461aa560bb000853903787d7e4643858767e Mon Sep 17 00:00:00 2001 From: Ryan Lortie Date: Fri, 2 Mar 2012 00:16:38 -0500 Subject: make proper use of g_variant_builder_init() GVariantBuilder can only infer the proper type for non-empty arrays. If an array may be empty, the full definite type must be given to g_variant_builder_init(). --- src/application-service-appstore.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/application-service-appstore.c b/src/application-service-appstore.c index 2f456f4..5d4296d 100644 --- a/src/application-service-appstore.c +++ b/src/application-service-appstore.c @@ -1348,7 +1348,7 @@ get_applications (ApplicationServiceAppstore * appstore) GList * listpntr; gint position = 0; - g_variant_builder_init(&builder, G_VARIANT_TYPE_ARRAY); + g_variant_builder_init(&builder, G_VARIANT_TYPE ("a(sisossssss)")); for (listpntr = priv->applications; listpntr != NULL; listpntr = g_list_next(listpntr)) { Application * app = (Application *)listpntr->data; -- cgit v1.2.3 From 1c5dbfebdcd6ea55ba72e60289e9efc56c6a2805 Mon Sep 17 00:00:00 2001 From: Sebastien Bacher Date: Mon, 5 Mar 2012 10:39:40 +0100 Subject: releasing version 0.4.91-0ubuntu2 --- debian/changelog | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index 5d57d3c..aa076d1 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,8 +1,8 @@ -indicator-application (0.4.91-0ubuntu2) UNRELEASED; urgency=low +indicator-application (0.4.91-0ubuntu2) precise; urgency=low * Backport an upstream fix for a gvariant misuse, thanks desrt for it! - -- Sebastien Bacher Mon, 05 Mar 2012 10:38:46 +0100 + -- Sebastien Bacher Mon, 05 Mar 2012 10:39:25 +0100 indicator-application (0.4.91-0ubuntu1) precise; urgency=low -- cgit v1.2.3