diff options
author | Michael Terry <mike@mterry.name> | 2011-01-12 11:16:55 -0500 |
---|---|---|
committer | Michael Terry <mike@mterry.name> | 2011-01-12 11:16:55 -0500 |
commit | 4b0e0720e7b2d0ace18dc6bffc7c073b59af5565 (patch) | |
tree | 985f2b40e057031cef54beb03b4c6949cbaaf43c /src | |
parent | af582ad4697437ea7eb76889f2242e3928d06ead (diff) | |
download | ayatana-indicator-application-4b0e0720e7b2d0ace18dc6bffc7c073b59af5565.tar.gz ayatana-indicator-application-4b0e0720e7b2d0ace18dc6bffc7c073b59af5565.tar.bz2 ayatana-indicator-application-4b0e0720e7b2d0ace18dc6bffc7c073b59af5565.zip |
fix bug with gvariant string; port test
Diffstat (limited to 'src')
-rw-r--r-- | src/Makefile.am | 8 | ||||
-rw-r--r-- | src/indicator-application.c | 2 |
2 files changed, 6 insertions, 4 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index 49a4d6a..35c40c5 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -80,10 +80,10 @@ DISTCLEANFILES += app-indicator-enum-types.c ################################## GDBUS_SPECS = \ - application-service.xml + application-service.xml \ + notification-approver.xml DBUS_SPECS = \ - notification-approver.xml \ notification-watcher.xml %-client.h: %.xml @@ -114,7 +114,9 @@ BUILT_SOURCES += \ $(DBUS_SPECS:.xml=-client.h) \ $(DBUS_SPECS:.xml=-server.h) \ gen-application-service.xml.c \ - gen-application-service.xml.h + gen-application-service.xml.h \ + gen-notification-approver.xml.c \ + gen-notification-approver.xml.h CLEANFILES += $(BUILT_SOURCES) diff --git a/src/indicator-application.c b/src/indicator-application.c index 5bfde3b..1de8785 100644 --- a/src/indicator-application.c +++ b/src/indicator-application.c @@ -772,7 +772,7 @@ get_applications (GObject * obj, GAsyncResult * res, gpointer user_data) return; } - g_variant_get(result, "a(sisosss)", &iter); + g_variant_get(result, "(a(sisosss))", &iter); while ((child = g_variant_iter_next_value (iter))) get_applications_helper(self, child); g_variant_iter_free (iter); |