aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2013-09-07 07:05:02 -0500
committerCharles Kerr <charles.kerr@canonical.com>2013-09-07 07:05:02 -0500
commit188c34d1c975b35f8ec36442ca971520014c419b (patch)
treeca20a14eb1f97aa6a72c5694967f6ec90cd624a3 /src
parentddebe3c47040869cb8fe94729c43f10f2b763550 (diff)
downloadayatana-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}')
Diffstat (limited to 'src')
-rw-r--r--src/service.c4
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);