diff options
author | Charles Kerr <charles.kerr@canonical.com> | 2013-09-07 07:05:02 -0500 |
---|---|---|
committer | Charles Kerr <charles.kerr@canonical.com> | 2013-09-07 07:05:02 -0500 |
commit | 188c34d1c975b35f8ec36442ca971520014c419b (patch) | |
tree | ca20a14eb1f97aa6a72c5694967f6ec90cd624a3 | |
parent | ddebe3c47040869cb8fe94729c43f10f2b763550 (diff) | |
download | ayatana-indicator-datetime-188c34d1c975b35f8ec36442ca971520014c419b.tar.gz ayatana-indicator-datetime-188c34d1c975b35f8ec36442ca971520014c419b.tar.bz2 ayatana-indicator-datetime-188c34d1c975b35f8ec36442ca971520014c419b.zip |
copyediting: use G_VARIANT_TYPE_VARDICT instead of G_VARIANT_TYPE('a{sv}')
-rw-r--r-- | src/service.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/service.c b/src/service.c index c46beeb..364463a 100644 --- a/src/service.c +++ b/src/service.c @@ -497,7 +497,7 @@ create_desktop_header_state (IndicatorDatetimeService * self) g_warning ("%s", str); } - g_variant_builder_init (&b, G_VARIANT_TYPE("a{sv}")); + g_variant_builder_init (&b, G_VARIANT_TYPE_VARDICT); g_variant_builder_add (&b, "{sv}", "accessible-desc", g_variant_new_string (str)); g_variant_builder_add (&b, "{sv}", "label", g_variant_new_string (str)); g_variant_builder_add (&b, "{sv}", "visible", g_variant_new_boolean (visible)); @@ -522,7 +522,7 @@ create_phone_header_state (IndicatorDatetimeService * self) gboolean has_alarms; gchar * a11y; - g_variant_builder_init (&b, G_VARIANT_TYPE("a{sv}")); + g_variant_builder_init (&b, G_VARIANT_TYPE_VARDICT); /* label */ now = indicator_datetime_service_get_localtime (self); |