Build fix
authorSergio Villar Senín <svillar@igalia.com>
Thu, 14 Jan 2010 21:07:12 +0000 (22:07 +0100)
committerSergio Villar Senín <svillar@igalia.com>
Thu, 14 Jan 2010 21:07:12 +0000 (22:07 +0100)
src/widgets/modest-provider-combo-box.c

index 9273229..60f02c8 100644 (file)
@@ -347,9 +347,9 @@ modest_provider_combo_box_refresh (ModestProviderComboBox *self)
                                        continue;
 
                                do {
-                                       const gchar *id;
+                                       gchar *id = NULL;
                                        gtk_tree_model_get (priv->model, &iter, 
-                                                           MODEL_COL_ID, id,
+                                                           MODEL_COL_ID, &id,
                                                            -1);
 
                                        if (g_strcmp0 (id, modest_protocol_get_name (proto)) == 0) {