aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Lortie <desrt@desrt.ca>2012-03-07 15:36:07 -0500
committerRyan Lortie <desrt@desrt.ca>2012-03-07 15:36:07 -0500
commit79e0a6fd12022fb939a8061b1f4b7b3310f5da00 (patch)
tree23e2f1ac28360a354cdad3efe333777e0cb19ab4
parent82434d1e1ddd26453c888d336df170e6a76da2d6 (diff)
downloadayatana-indicator-datetime-79e0a6fd12022fb939a8061b1f4b7b3310f5da00.tar.gz
ayatana-indicator-datetime-79e0a6fd12022fb939a8061b1f4b7b3310f5da00.tar.bz2
ayatana-indicator-datetime-79e0a6fd12022fb939a8061b1f4b7b3310f5da00.zip
more GVariantBuilder vs. G_VARIANT_TYPE_ARRAY fixes
-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;