-/*
- * Copyright (C) 2011-2013 Andrea Zagli <azagli@libero.it>
+/*
+ * Copyright (C) 2011-2016 Andrea Zagli <azagli@libero.it>
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
*/
#include <libgda-ui/libgda-ui.h>
+#include <libzakutils/libzakutils.h>
#include <libsolipa/libsolipa.h>
#include "importaviecivilia.h"
id_vie++;
tmp = g_string_new (nome);
- solipa_gstring_initial_capital (tmp);
+ zak_utils_gstring_initial_capital (tmp);
sql = g_strdup_printf ("INSERT INTO vie (id, nome, id_comuni, cap)"
" VALUES (%d, '%s',"
" (SELECT c.id FROM comuni AS c INNER JOIN province AS p ON c.id_province = p.id WHERE p.cod_istat || c.cod_istat = '%s'),"
id_vie = gdaex_data_model_get_value_integer_at (dm_territorio, 0, 0);
tmp = g_string_new (nome);
- solipa_gstring_initial_capital (tmp);
+ zak_utils_gstring_initial_capital (tmp);
/* aggiorno la via */
sql = g_strdup_printf ("UPDATE vie"