aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2012-03-08 16:39:52 -0600
committerTed Gould <ted@gould.cx>2012-03-08 16:39:52 -0600
commit918e8e3722239cb033425e671d04a5b78ff92668 (patch)
tree23e2f1ac28360a354cdad3efe333777e0cb19ab4 /src
parent82434d1e1ddd26453c888d336df170e6a76da2d6 (diff)
parent79e0a6fd12022fb939a8061b1f4b7b3310f5da00 (diff)
downloadayatana-indicator-datetime-918e8e3722239cb033425e671d04a5b78ff92668.tar.gz
ayatana-indicator-datetime-918e8e3722239cb033425e671d04a5b78ff92668.tar.bz2
ayatana-indicator-datetime-918e8e3722239cb033425e671d04a5b78ff92668.zip
Specify types explicitly to GVariantBuilder
Diffstat (limited to 'src')
-rw-r--r--src/datetime-prefs-locations.c2
-rw-r--r--src/datetime-service.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/datetime-prefs-locations.c b/src/datetime-prefs-locations.c
index b734a69..9c71f8e 100644
--- a/src/datetime-prefs-locations.c
+++ b/src/datetime-prefs-locations.c
@@ -339,7 +339,7 @@ save_to_settings (GObject * store, GSettings * conf)
{
gboolean empty = TRUE;
GVariantBuilder builder;
- g_variant_builder_init (&builder, G_VARIANT_TYPE_ARRAY);
+ g_variant_builder_init (&builder, G_VARIANT_TYPE_STRING_ARRAY);
GtkTreeIter iter;
if (gtk_tree_model_get_iter_first (GTK_TREE_MODEL (store), &iter)) {
diff --git a/src/datetime-service.c b/src/datetime-service.c
index 72f3d51..a782d80 100644
--- a/src/datetime-service.c
+++ b/src/datetime-service.c
@@ -830,7 +830,7 @@ update_appointment_menu_items (gpointer user_data)
}
GVariantBuilder markeddays;
- g_variant_builder_init (&markeddays, G_VARIANT_TYPE_ARRAY);
+ g_variant_builder_init (&markeddays, G_VARIANT_TYPE ("ai"));
i = 0;
GList * cached_appointment = appointments;