diff options
author | Ted Gould <ted@gould.cx> | 2012-03-08 16:39:52 -0600 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2012-03-08 16:39:52 -0600 |
commit | 918e8e3722239cb033425e671d04a5b78ff92668 (patch) | |
tree | 23e2f1ac28360a354cdad3efe333777e0cb19ab4 /src | |
parent | 82434d1e1ddd26453c888d336df170e6a76da2d6 (diff) | |
parent | 79e0a6fd12022fb939a8061b1f4b7b3310f5da00 (diff) | |
download | ayatana-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.c | 2 | ||||
-rw-r--r-- | src/datetime-service.c | 2 |
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; |