From 3770d74862ff87ed4de0eac915fe71e6279f36e8 Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Fri, 8 Jul 2011 12:39:11 -0500 Subject: Forgot an 's' in the case of no app indicators --- src/application-service-appstore.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/application-service-appstore.c b/src/application-service-appstore.c index 9cd65b4..9e1dab3 100644 --- a/src/application-service-appstore.c +++ b/src/application-service-appstore.c @@ -1276,9 +1276,9 @@ get_applications (ApplicationServiceAppstore * appstore) out = g_variant_builder_end(&builder); } else { GError * error = NULL; - out = g_variant_parse(g_variant_type_new("a(sisossss)"), "[]", NULL, NULL, &error); + out = g_variant_parse(g_variant_type_new("a(sisosssss)"), "[]", NULL, NULL, &error); if (error != NULL) { - g_warning("Unable to parse '[]' as a 'a(sisossss)': %s", error->message); + g_warning("Unable to parse '[]' as a 'a(sisosssss)': %s", error->message); out = NULL; g_error_free(error); } -- cgit v1.2.3 From f255dfccdfc67242dc15118c1d90b2fbf26aac27 Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Fri, 8 Jul 2011 12:47:44 -0500 Subject: Fixing the signature on the startup functions. --- src/indicator-application.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/indicator-application.c b/src/indicator-application.c index dc810f4..0a0886a 100644 --- a/src/indicator-application.c +++ b/src/indicator-application.c @@ -861,7 +861,7 @@ get_applications (GObject * obj, GAsyncResult * res, gpointer user_data) } /* Get our new applications that we got in the request */ - g_variant_get(result, "(a(sisossss))", &iter); + g_variant_get(result, "(a(sisosssss))", &iter); while ((child = g_variant_iter_next_value (iter))) { get_applications_helper(self, child); g_variant_unref(child); -- cgit v1.2.3