aboutsummaryrefslogtreecommitdiff
path: root/src/datetime-prefs-locations.c
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2012-03-08 16:57:20 -0600
committerTed Gould <ted@gould.cx>2012-03-08 16:57:20 -0600
commit3c12ac558602ec74e99cde48ddc6e59ea62cc6aa (patch)
tree1f5963d3de20cf696660c1f601f51a4d73f3c16e /src/datetime-prefs-locations.c
parentade1e121d41dd07ccc81a641862d81798e38b145 (diff)
parentb5c19e04a9b46cfe5f14110a307d37d77cfe29da (diff)
downloadayatana-indicator-datetime-3c12ac558602ec74e99cde48ddc6e59ea62cc6aa.tar.gz
ayatana-indicator-datetime-3c12ac558602ec74e99cde48ddc6e59ea62cc6aa.tar.bz2
ayatana-indicator-datetime-3c12ac558602ec74e99cde48ddc6e59ea62cc6aa.zip
* New upstream release.
* Make GSettings readonly to fix DConf service starting on boot * Explicitly give types to GVariant Builder * Confirm scanf usage for Coverity (LP: #943747) * Remove unused code (LP: #943746) * Fix timezone ordering in the menu (LP: #833325, LP: #833337)
Diffstat (limited to 'src/datetime-prefs-locations.c')
-rw-r--r--src/datetime-prefs-locations.c2
1 files changed, 1 insertions, 1 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)) {