aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;