From 5a4f98479f913949ae9f117c821f511ac3fda33c Mon Sep 17 00:00:00 2001 From: Andrea Zagli Date: Fri, 25 Dec 2015 15:22:14 +0100 Subject: [PATCH] Cambio nome e namespace a libautoz e libaute. --- .gitignore | 1 + config.h.in | 61 ------------------------------ configure.ac | 4 +- src/aggregazioneterritoriale.c | 12 +++--- src/aggregazioniterritoriali.c | 24 ++++++------ src/commons.h | 8 ++-- src/comune.c | 16 ++++---- src/comuni.c | 28 +++++++------- src/main.c | 56 +++++++++++++-------------- src/province.c | 24 ++++++------ src/provincia.c | 12 +++--- src/regione.c | 12 +++--- src/regioni.c | 24 ++++++------ src/stati.c | 24 ++++++------ src/stato.c | 12 +++--- src/tipiaggregazioneterritoriale.c | 24 ++++++------ src/tipoaggregazioneterritoriale.c | 12 +++--- src/via.c | 22 +++++------ src/vie.c | 28 +++++++------- 19 files changed, 172 insertions(+), 232 deletions(-) delete mode 100644 config.h.in diff --git a/.gitignore b/.gitignore index 2708b3e..e8d6505 100644 --- a/.gitignore +++ b/.gitignore @@ -5,6 +5,7 @@ *.pc libtool ltmain.sh +config.h.in src/territorio COPYING INSTALL diff --git a/config.h.in b/config.h.in deleted file mode 100644 index 8de1159..0000000 --- a/config.h.in +++ /dev/null @@ -1,61 +0,0 @@ -/* config.h.in. Generated from configure.ac by autoheader. */ - -/* Define to 1 if you have the header file. */ -#undef HAVE_DLFCN_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_INTTYPES_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_MEMORY_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_STDINT_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_STDLIB_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_STRINGS_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_STRING_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_SYS_STAT_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_SYS_TYPES_H - -/* Define to 1 if you have the header file. */ -#undef HAVE_UNISTD_H - -/* Define to the sub-directory where libtool stores uninstalled libraries. */ -#undef LT_OBJDIR - -/* Name of package */ -#undef PACKAGE - -/* Define to the address where bug reports for this package should be sent. */ -#undef PACKAGE_BUGREPORT - -/* Define to the full name of this package. */ -#undef PACKAGE_NAME - -/* Define to the full name and version of this package. */ -#undef PACKAGE_STRING - -/* Define to the one symbol short name of this package. */ -#undef PACKAGE_TARNAME - -/* Define to the home page for this package. */ -#undef PACKAGE_URL - -/* Define to the version of this package. */ -#undef PACKAGE_VERSION - -/* Define to 1 if you have the ANSI C header files. */ -#undef STDC_HEADERS - -/* Version number of package */ -#undef VERSION diff --git a/configure.ac b/configure.ac index e2d101d..f58eeb0 100644 --- a/configure.ac +++ b/configure.ac @@ -29,8 +29,8 @@ PKG_CHECK_MODULES(TERRITORIO, [gio-2.0 >= 2.36 libgdaex >= 0.5.0 libgtkform >= 0.5.0 libgtkformui >= 0.5.0 - libaute >= 0.2.0 - libautoz >= 0.0.5 + libzakauthe >= 0.2.0 + libzakautho >= 0.0.5 libsolipa >= 0.5.0]) AC_SUBST(TERRITORIO_CFLAGS) diff --git a/src/aggregazioneterritoriale.c b/src/aggregazioneterritoriale.c index c993417..28b70c9 100644 --- a/src/aggregazioneterritoriale.c +++ b/src/aggregazioneterritoriale.c @@ -1,5 +1,5 @@ -/* - * Copyright (C) 2010-2012 Andrea Zagli +/* + * Copyright (C) 2010-2015 Andrea Zagli * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public @@ -18,7 +18,7 @@ */ #include -#include +#include #include #include "aggregazioneterritoriale.h" @@ -115,7 +115,7 @@ TerritorioAggregazioneTerritoriale *territorio_aggregazione_territoriale_new (TerritorioCommons *commons, gint id) { GError *error; - AutozIResource *ires1; + ZakAuthoIResource *ires1; TerritorioAggregazioneTerritoriale *a = TERRITORIO_AGGREGAZIONE_TERRITORIALE (g_object_new (territorio_aggregazione_territoriale_get_type (), NULL)); @@ -166,8 +166,8 @@ TerritorioAggregazioneTerritoriale territorio_aggregazione_territoriale_carica (a); } - ires1 = autoz_get_resource_from_id (priv->commons->autoz, "territorio_rw"); - if (!autoz_is_allowed (priv->commons->autoz, priv->commons->role_utente, ires1, FALSE)) + ires1 = zak_autho_get_resource_from_id (priv->commons->autoz, "territorio_rw"); + if (!zak_autho_is_allowed (priv->commons->autoz, priv->commons->role_utente, ires1, FALSE)) { gtk_widget_set_sensitive (GTK_WIDGET (gtk_builder_get_object (commons->gtkbuilder, "button42")), FALSE); } diff --git a/src/aggregazioniterritoriali.c b/src/aggregazioniterritoriali.c index b2c1d9c..63af936 100644 --- a/src/aggregazioniterritoriali.c +++ b/src/aggregazioniterritoriali.c @@ -1,5 +1,5 @@ -/* - * Copyright (C) 2010-2012 Andrea Zagli +/* + * Copyright (C) 2010-2015 Andrea Zagli * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public @@ -17,7 +17,7 @@ * */ -#include +#include #include #include "aggregazioniterritoriali.h" @@ -126,7 +126,7 @@ TerritorioAggregazioniTerritoriali *territorio_aggregazioni_territoriali_new (TerritorioCommons *commons, gboolean selezione) { GError *error; - AutozIResource *ires1; + ZakAuthoIResource *ires1; TerritorioAggregazioniTerritoriali *a = TERRITORIO_AGGREGAZIONI_TERRITORIALI (g_object_new (territorio_aggregazioni_territoriali_get_type (), NULL)); @@ -188,8 +188,8 @@ TerritorioAggregazioniTerritoriali territorio_aggregazioni_territoriali_carica (a); - ires1 = autoz_get_resource_from_id (priv->commons->autoz, "territorio_rw"); - if (!autoz_is_allowed (priv->commons->autoz, priv->commons->role_utente, ires1, FALSE)) + ires1 = zak_autho_get_resource_from_id (priv->commons->autoz, "territorio_rw"); + if (!zak_autho_is_allowed (priv->commons->autoz, priv->commons->role_utente, ires1, FALSE)) { gtk_widget_set_sensitive (GTK_WIDGET (gtk_builder_get_object (commons->gtkbuilder, "button36")), FALSE); gtk_widget_set_sensitive (GTK_WIDGET (gtk_builder_get_object (commons->gtkbuilder, "button38")), FALSE); @@ -392,15 +392,15 @@ static void territorio_aggregazioni_territoriali_on_btn_nuovo_clicked (GtkButton *button, gpointer user_data) { - AutozIResource *ires1; + ZakAuthoIResource *ires1; GtkWidget *w; TerritorioAggregazioniTerritoriali *territorio_aggregazioni_territoriali = (TerritorioAggregazioniTerritoriali *)user_data; TerritorioAggregazioniTerritorialiPrivate *priv = TERRITORIO_AGGREGAZIONI_TERRITORIALI_GET_PRIVATE (territorio_aggregazioni_territoriali); - ires1 = autoz_get_resource_from_id (priv->commons->autoz, "territorio_rw"); - if (!autoz_is_allowed (priv->commons->autoz, priv->commons->role_utente, ires1, FALSE)) + ires1 = zak_autho_get_resource_from_id (priv->commons->autoz, "territorio_rw"); + if (!zak_autho_is_allowed (priv->commons->autoz, priv->commons->role_utente, ires1, FALSE)) { solipa_message_dialog (GTK_WIDGET (priv->wtransient), GTK_MESSAGE_WARNING, @@ -430,7 +430,7 @@ static void territorio_aggregazioni_territoriali_on_btn_elimina_clicked (GtkButton *button, gpointer user_data) { - AutozIResource *ires1; + ZakAuthoIResource *ires1; GtkTreeIter iter; gchar *id; @@ -440,8 +440,8 @@ territorio_aggregazioni_territoriali_on_btn_elimina_clicked (GtkButton *button, if (gtk_tree_selection_get_selected (priv->selection, NULL, &iter)) { - ires1 = autoz_get_resource_from_id (priv->commons->autoz, "territorio_rw"); - if (!autoz_is_allowed (priv->commons->autoz, priv->commons->role_utente, ires1, FALSE)) + ires1 = zak_autho_get_resource_from_id (priv->commons->autoz, "territorio_rw"); + if (!zak_autho_is_allowed (priv->commons->autoz, priv->commons->role_utente, ires1, FALSE)) { solipa_message_dialog (GTK_WIDGET (priv->wtransient), GTK_MESSAGE_WARNING, diff --git a/src/commons.h b/src/commons.h index 1436d10..ac0d7f4 100644 --- a/src/commons.h +++ b/src/commons.h @@ -30,8 +30,8 @@ #endif #include -#include -#include +#include +#include #include @@ -50,8 +50,8 @@ typedef struct const gchar *guifile; gchar *utente; - Autoz *autoz; - AutozIRole *role_utente; + ZakAutho *autoz; + ZakAuthoIRole *role_utente; Solipa *solipa; } TerritorioCommons; diff --git a/src/comune.c b/src/comune.c index 4f5f325..37b80fb 100644 --- a/src/comune.c +++ b/src/comune.c @@ -1,5 +1,5 @@ -/* - * Copyright (C) 2010-2012 Andrea Zagli +/* + * Copyright (C) 2010-2015 Andrea Zagli * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public @@ -18,7 +18,7 @@ */ #include -#include +#include #include #include "comune.h" @@ -116,7 +116,7 @@ TerritorioComune *territorio_comune_new (TerritorioCommons *commons, gint id) { GError *error; - AutozIResource *ires1; + ZakAuthoIResource *ires1; GtkWidget *twidget; TerritorioComune *a = TERRITORIO_COMUNE (g_object_new (territorio_comune_get_type (), NULL)); @@ -193,16 +193,16 @@ TerritorioComune territorio_comune_carica (a); } - ires1 = autoz_get_resource_from_id (priv->commons->autoz, "territorio_rw"); - if (!autoz_is_allowed (priv->commons->autoz, priv->commons->role_utente, ires1, FALSE)) + ires1 = zak_autho_get_resource_from_id (priv->commons->autoz, "territorio_rw"); + if (!zak_autho_is_allowed (priv->commons->autoz, priv->commons->role_utente, ires1, FALSE)) { gtk_widget_set_sensitive (GTK_WIDGET (gtk_builder_get_object (commons->gtkbuilder, "button28")), FALSE); } else if (priv->id != 0) { - ires1 = autoz_get_resource_from_id (priv->commons->autoz, + ires1 = zak_autho_get_resource_from_id (priv->commons->autoz, g_strdup_printf ("territorio_comuni_%d_rw", priv->id)); - if (AUTOZ_IS_IRESOURCE (ires1) && !autoz_is_allowed (priv->commons->autoz, priv->commons->role_utente, ires1, FALSE)) + if (ZAK_AUTHO_IS_IRESOURCE (ires1) && !zak_autho_is_allowed (priv->commons->autoz, priv->commons->role_utente, ires1, FALSE)) { gtk_widget_set_sensitive (GTK_WIDGET (gtk_builder_get_object (commons->gtkbuilder, "button28")), FALSE); } diff --git a/src/comuni.c b/src/comuni.c index ad4a4a5..14f63cd 100644 --- a/src/comuni.c +++ b/src/comuni.c @@ -1,5 +1,5 @@ -/* - * Copyright (C) 2010-2013 Andrea Zagli +/* + * Copyright (C) 2010-2015 Andrea Zagli * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public @@ -19,7 +19,7 @@ #include -#include +#include #include "comuni.h" #include "comune.h" @@ -160,7 +160,7 @@ TerritorioComuni *territorio_comuni_new (TerritorioCommons *commons, gboolean selezione) { GError *error; - AutozIResource *ires1; + ZakAuthoIResource *ires1; TerritorioComuni *a = TERRITORIO_COMUNI (g_object_new (territorio_comuni_get_type (), NULL)); @@ -224,8 +224,8 @@ TerritorioComuni gtk_widget_hide (GTK_WIDGET (gtk_builder_get_object (priv->commons->gtkbuilder, "button26"))); } - ires1 = autoz_get_resource_from_id (priv->commons->autoz, "territorio_rw"); - if (!autoz_is_allowed (priv->commons->autoz, priv->commons->role_utente, ires1, FALSE)) + ires1 = zak_autho_get_resource_from_id (priv->commons->autoz, "territorio_rw"); + if (!zak_autho_is_allowed (priv->commons->autoz, priv->commons->role_utente, ires1, FALSE)) { gtk_widget_set_sensitive (GTK_WIDGET (gtk_builder_get_object (commons->gtkbuilder, "button22")), FALSE); gtk_widget_set_sensitive (GTK_WIDGET (gtk_builder_get_object (commons->gtkbuilder, "button24")), FALSE); @@ -493,15 +493,15 @@ static void territorio_comuni_on_btn_nuovo_clicked (GtkButton *button, gpointer user_data) { - AutozIResource *ires1; + ZakAuthoIResource *ires1; GtkWidget *w; TerritorioComuni *territorio_comuni = (TerritorioComuni *)user_data; TerritorioComuniPrivate *priv = TERRITORIO_COMUNI_GET_PRIVATE (territorio_comuni); - ires1 = autoz_get_resource_from_id (priv->commons->autoz, "territorio_rw"); - if (!autoz_is_allowed (priv->commons->autoz, priv->commons->role_utente, ires1, FALSE)) + ires1 = zak_autho_get_resource_from_id (priv->commons->autoz, "territorio_rw"); + if (!zak_autho_is_allowed (priv->commons->autoz, priv->commons->role_utente, ires1, FALSE)) { solipa_message_dialog (GTK_WIDGET (priv->wtransient), GTK_MESSAGE_WARNING, @@ -534,13 +534,13 @@ territorio_comuni_on_btn_elimina_clicked (GtkButton *button, GtkTreeIter iter; guint id; - AutozIResource *ires1; + ZakAuthoIResource *ires1; TerritorioComuni *territorio_comuni = (TerritorioComuni *)user_data; TerritorioComuniPrivate *priv = TERRITORIO_COMUNI_GET_PRIVATE (territorio_comuni); - ires1 = autoz_get_resource_from_id (priv->commons->autoz, "territorio_rw"); - if (!autoz_is_allowed (priv->commons->autoz, priv->commons->role_utente, ires1, FALSE)) + ires1 = zak_autho_get_resource_from_id (priv->commons->autoz, "territorio_rw"); + if (!zak_autho_is_allowed (priv->commons->autoz, priv->commons->role_utente, ires1, FALSE)) { solipa_message_dialog (GTK_WIDGET (priv->wtransient), GTK_MESSAGE_WARNING, @@ -554,9 +554,9 @@ territorio_comuni_on_btn_elimina_clicked (GtkButton *button, gtk_tree_model_get (GTK_TREE_MODEL (priv->lstore_comuni), &iter, COL_ID, &id, -1); - ires1 = autoz_get_resource_from_id (priv->commons->autoz, + ires1 = zak_autho_get_resource_from_id (priv->commons->autoz, g_strdup_printf ("territorio_comuni_%d_rw", id)); - if (AUTOZ_IS_IRESOURCE (ires1) && !autoz_is_allowed (priv->commons->autoz, priv->commons->role_utente, ires1, FALSE)) + if (ZAK_AUTHO_IS_IRESOURCE (ires1) && !zak_autho_is_allowed (priv->commons->autoz, priv->commons->role_utente, ires1, FALSE)) { solipa_message_dialog (GTK_WIDGET (priv->wtransient), GTK_MESSAGE_WARNING, diff --git a/src/main.c b/src/main.c index d1fd984..434539f 100644 --- a/src/main.c +++ b/src/main.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2010-2011 Andrea Zagli + * Copyright (C) 2010-2015 Andrea Zagli * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -25,8 +25,8 @@ #include #include -#include -#include +#include +#include #include "aggregazioniterritoriali.h" #include "commons.h" @@ -218,10 +218,10 @@ main (int argc, char *argv[]) GdaConnection *gdacon; - Aute *aute; - gchar **aute_params; - gsize n_aute_params; - GSList *sl_aute_params; + ZakAuthe *zak_authe; + gchar **zak_authe_params; + gsize n_zak_authe_params; + GSList *sl_zak_authe_params; gchar *utente; @@ -254,30 +254,30 @@ main (int argc, char *argv[]) g_error ("Impossibile caricare il file di configurazione specificato: %s.", argv[1]); } - /* leggo i parametri per l'autenticazione */ + /* leggo i parametri per l'zak_authenticazione */ error = NULL; - aute_params = g_key_file_get_keys (config, "AUTE", &n_aute_params, &error); - if (aute_params == NULL) + zak_authe_params = g_key_file_get_keys (config, "ZAK_AUTHE", &n_zak_authe_params, &error); + if (zak_authe_params == NULL) { - g_error ("Impossibile leggere la configurazione per il sistema di autenticazione."); + g_error ("Impossibile leggere la configurazione per il sistema di zak_authenticazione."); } - sl_aute_params = NULL; - for (i = 0; i < n_aute_params; i++) + sl_zak_authe_params = NULL; + for (i = 0; i < n_zak_authe_params; i++) { error = NULL; - sl_aute_params = g_slist_append (sl_aute_params, g_key_file_get_string (config, "AUTE", aute_params[i], &error)); + sl_zak_authe_params = g_slist_append (sl_zak_authe_params, g_key_file_get_string (config, "ZAK_AUTHE", zak_authe_params[i], &error)); } - g_strfreev (aute_params); + g_strfreev (zak_authe_params); - /* autenticazione */ - aute = aute_new (); - aute_set_config (aute, sl_aute_params); + /* zak_authenticazione */ + zak_authe = zak_authe_new (); + zak_authe_set_config (zak_authe, sl_zak_authe_params); while (TRUE) { - utente = aute_autentica (aute); + utente = zak_authe_authe (zak_authe); if (utente == NULL) { @@ -298,12 +298,12 @@ main (int argc, char *argv[]) commons->utente = g_strdup (utente); - /* leggo i parametri per libautoz */ + /* leggo i parametri per libzak_autho */ error = NULL; cnc_string = g_key_file_get_value (config, "AUTOZ", "cnc_string", &error); if (cnc_string == NULL) { - g_warning ("Impossibile leggere la stringa di connessione per libautoz dal file di configurazione: %s.", + g_warning ("Impossibile leggere la stringa di connessione per libzakautho dal file di configurazione: %s.", error != NULL && error->message != NULL ? error->message : "nessun dettaglio"); return 0; } @@ -312,27 +312,27 @@ main (int argc, char *argv[]) gdacon = gda_connection_open_from_string (NULL, cnc_string, NULL, 0, &error); if (gdacon == NULL) { - g_warning ("Impossibile creare la connessione al db per libautoz: %s.", + g_warning ("Impossibile creare la connessione al db per libzakautho: %s.", error != NULL && error->message != NULL ? error->message : "nessun dettaglio"); return 0; } - commons->autoz = autoz_new (); + commons->autoz = zak_autho_new (); if (commons->autoz == NULL) { - g_warning ("Impossibile creare l'oggetto per libautoz."); + g_warning ("Impossibile creare l'oggetto per libzak_autho."); return 0; } - if (!autoz_load_from_db_with_monitor (commons->autoz, gdacon, NULL, TRUE)) + if (!zak_autho_load_from_db_with_monitor (commons->autoz, gdacon, NULL, TRUE)) { - g_warning ("Impossibile caricare la configurazione per libautoz dal db."); + g_warning ("Impossibile caricare la configurazione per libzakautho dal db."); return 0; } - commons->role_utente = autoz_get_role_from_id (commons->autoz, commons->utente); + commons->role_utente = zak_autho_get_role_from_id (commons->autoz, commons->utente); if (commons->role_utente == NULL) { - g_warning ("Utente «%s» non trovato nell configurazione di libautoz.", commons->utente); + g_warning ("Utente «%s» non trovato nell configurazione di libzakautho.", commons->utente); return 0; } diff --git a/src/province.c b/src/province.c index f5ae4f1..d93a5b6 100644 --- a/src/province.c +++ b/src/province.c @@ -1,5 +1,5 @@ -/* - * Copyright (C) 2010-2013 Andrea Zagli +/* + * Copyright (C) 2010-2015 Andrea Zagli * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public @@ -19,7 +19,7 @@ #include -#include +#include #include #include "province.h" @@ -163,7 +163,7 @@ TerritorioProvince *territorio_province_new (TerritorioCommons *commons, gboolean selezione) { GError *error; - AutozIResource *ires1; + ZakAuthoIResource *ires1; TerritorioProvince *a = TERRITORIO_PROVINCE (g_object_new (territorio_province_get_type (), NULL)); @@ -230,8 +230,8 @@ TerritorioProvince gtk_widget_hide (GTK_WIDGET (gtk_builder_get_object (priv->commons->gtkbuilder, "button19"))); } - ires1 = autoz_get_resource_from_id (priv->commons->autoz, "territorio_rw"); - if (!autoz_is_allowed (priv->commons->autoz, priv->commons->role_utente, ires1, FALSE)) + ires1 = zak_autho_get_resource_from_id (priv->commons->autoz, "territorio_rw"); + if (!zak_autho_is_allowed (priv->commons->autoz, priv->commons->role_utente, ires1, FALSE)) { gtk_widget_set_sensitive (GTK_WIDGET (gtk_builder_get_object (commons->gtkbuilder, "button15")), FALSE); gtk_widget_set_sensitive (GTK_WIDGET (gtk_builder_get_object (commons->gtkbuilder, "button17")), FALSE); @@ -532,15 +532,15 @@ static void territorio_province_on_btn_nuovo_clicked (GtkButton *button, gpointer user_data) { - AutozIResource *ires1; + ZakAuthoIResource *ires1; GtkWidget *w; TerritorioProvince *territorio_province = (TerritorioProvince *)user_data; TerritorioProvincePrivate *priv = TERRITORIO_PROVINCE_GET_PRIVATE (territorio_province); - ires1 = autoz_get_resource_from_id (priv->commons->autoz, "territorio_rw"); - if (!autoz_is_allowed (priv->commons->autoz, priv->commons->role_utente, ires1, FALSE)) + ires1 = zak_autho_get_resource_from_id (priv->commons->autoz, "territorio_rw"); + if (!zak_autho_is_allowed (priv->commons->autoz, priv->commons->role_utente, ires1, FALSE)) { solipa_message_dialog (GTK_WIDGET (priv->wtransient), GTK_MESSAGE_WARNING, @@ -570,7 +570,7 @@ static void territorio_province_on_btn_elimina_clicked (GtkButton *button, gpointer user_data) { - AutozIResource *ires1; + ZakAuthoIResource *ires1; GtkTreeIter iter; guint id; @@ -580,8 +580,8 @@ territorio_province_on_btn_elimina_clicked (GtkButton *button, if (gtk_tree_selection_get_selected (priv->selection, NULL, &iter)) { - ires1 = autoz_get_resource_from_id (priv->commons->autoz, "territorio_rw"); - if (!autoz_is_allowed (priv->commons->autoz, priv->commons->role_utente, ires1, FALSE)) + ires1 = zak_autho_get_resource_from_id (priv->commons->autoz, "territorio_rw"); + if (!zak_autho_is_allowed (priv->commons->autoz, priv->commons->role_utente, ires1, FALSE)) { solipa_message_dialog (GTK_WIDGET (priv->wtransient), GTK_MESSAGE_WARNING, diff --git a/src/provincia.c b/src/provincia.c index 6c0fb5a..202a48c 100644 --- a/src/provincia.c +++ b/src/provincia.c @@ -1,5 +1,5 @@ -/* - * Copyright (C) 2010-2012 Andrea Zagli +/* + * Copyright (C) 2010-2015 Andrea Zagli * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public @@ -18,7 +18,7 @@ */ #include -#include +#include #include "provincia.h" #include "widget.h" @@ -115,7 +115,7 @@ TerritorioProvincia *territorio_provincia_new (TerritorioCommons *commons, gint id) { GError *error; - AutozIResource *ires1; + ZakAuthoIResource *ires1; GtkWidget *twidget; TerritorioProvincia *a = TERRITORIO_PROVINCIA (g_object_new (territorio_provincia_get_type (), NULL)); @@ -192,8 +192,8 @@ TerritorioProvincia territorio_provincia_carica (a); } - ires1 = autoz_get_resource_from_id (priv->commons->autoz, "territorio_rw"); - if (!autoz_is_allowed (priv->commons->autoz, priv->commons->role_utente, ires1, FALSE)) + ires1 = zak_autho_get_resource_from_id (priv->commons->autoz, "territorio_rw"); + if (!zak_autho_is_allowed (priv->commons->autoz, priv->commons->role_utente, ires1, FALSE)) { gtk_widget_set_sensitive (GTK_WIDGET (gtk_builder_get_object (commons->gtkbuilder, "button21")), FALSE); } diff --git a/src/regione.c b/src/regione.c index d6d0625..8627f7c 100644 --- a/src/regione.c +++ b/src/regione.c @@ -1,5 +1,5 @@ -/* - * Copyright (C) 2010-2012 Andrea Zagli +/* + * Copyright (C) 2010-2015 Andrea Zagli * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public @@ -18,7 +18,7 @@ */ #include -#include +#include #include #include "regione.h" @@ -115,7 +115,7 @@ TerritorioRegione *territorio_regione_new (TerritorioCommons *commons, gint id) { GError *error; - AutozIResource *ires1; + ZakAuthoIResource *ires1; TerritorioRegione *a = TERRITORIO_REGIONE (g_object_new (territorio_regione_get_type (), NULL)); @@ -165,8 +165,8 @@ TerritorioRegione territorio_regione_carica (a); } - ires1 = autoz_get_resource_from_id (priv->commons->autoz, "territorio_rw"); - if (!autoz_is_allowed (priv->commons->autoz, priv->commons->role_utente, ires1, FALSE)) + ires1 = zak_autho_get_resource_from_id (priv->commons->autoz, "territorio_rw"); + if (!zak_autho_is_allowed (priv->commons->autoz, priv->commons->role_utente, ires1, FALSE)) { gtk_widget_set_sensitive (GTK_WIDGET (gtk_builder_get_object (commons->gtkbuilder, "button14")), FALSE); } diff --git a/src/regioni.c b/src/regioni.c index c6eaa22..64ce46d 100644 --- a/src/regioni.c +++ b/src/regioni.c @@ -1,5 +1,5 @@ -/* - * Copyright (C) 2010-2013 Andrea Zagli +/* + * Copyright (C) 2010-2015 Andrea Zagli * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public @@ -19,7 +19,7 @@ #include -#include +#include #include #include "regioni.h" @@ -131,7 +131,7 @@ TerritorioRegioni *territorio_regioni_new (TerritorioCommons *commons, gboolean selezione) { GError *error; - AutozIResource *ires1; + ZakAuthoIResource *ires1; TerritorioRegioni *a = TERRITORIO_REGIONI (g_object_new (territorio_regioni_get_type (), NULL)); @@ -196,8 +196,8 @@ TerritorioRegioni territorio_regioni_carica (a); - ires1 = autoz_get_resource_from_id (priv->commons->autoz, "territorio_rw"); - if (!autoz_is_allowed (priv->commons->autoz, priv->commons->role_utente, ires1, FALSE)) + ires1 = zak_autho_get_resource_from_id (priv->commons->autoz, "territorio_rw"); + if (!zak_autho_is_allowed (priv->commons->autoz, priv->commons->role_utente, ires1, FALSE)) { gtk_widget_set_sensitive (GTK_WIDGET (gtk_builder_get_object (commons->gtkbuilder, "button8")), FALSE); gtk_widget_set_sensitive (GTK_WIDGET (gtk_builder_get_object (commons->gtkbuilder, "button10")), FALSE); @@ -417,15 +417,15 @@ static void territorio_regioni_on_btn_nuovo_clicked (GtkButton *button, gpointer user_data) { - AutozIResource *ires1; + ZakAuthoIResource *ires1; GtkWidget *w; TerritorioRegioni *territorio_regioni = (TerritorioRegioni *)user_data; TerritorioRegioniPrivate *priv = TERRITORIO_REGIONI_GET_PRIVATE (territorio_regioni); - ires1 = autoz_get_resource_from_id (priv->commons->autoz, "territorio_rw"); - if (!autoz_is_allowed (priv->commons->autoz, priv->commons->role_utente, ires1, FALSE)) + ires1 = zak_autho_get_resource_from_id (priv->commons->autoz, "territorio_rw"); + if (!zak_autho_is_allowed (priv->commons->autoz, priv->commons->role_utente, ires1, FALSE)) { solipa_message_dialog (GTK_WIDGET (priv->wtransient), GTK_MESSAGE_WARNING, @@ -455,7 +455,7 @@ static void territorio_regioni_on_btn_elimina_clicked (GtkButton *button, gpointer user_data) { - AutozIResource *ires1; + ZakAuthoIResource *ires1; GtkTreeIter iter; guint id; @@ -465,8 +465,8 @@ territorio_regioni_on_btn_elimina_clicked (GtkButton *button, if (gtk_tree_selection_get_selected (priv->selection, NULL, &iter)) { - ires1 = autoz_get_resource_from_id (priv->commons->autoz, "territorio_rw"); - if (!autoz_is_allowed (priv->commons->autoz, priv->commons->role_utente, ires1, FALSE)) + ires1 = zak_autho_get_resource_from_id (priv->commons->autoz, "territorio_rw"); + if (!zak_autho_is_allowed (priv->commons->autoz, priv->commons->role_utente, ires1, FALSE)) { solipa_message_dialog (GTK_WIDGET (priv->wtransient), GTK_MESSAGE_WARNING, diff --git a/src/stati.c b/src/stati.c index 23dbc53..57f01c7 100644 --- a/src/stati.c +++ b/src/stati.c @@ -1,5 +1,5 @@ -/* - * Copyright (C) 2010-2013 Andrea Zagli +/* + * Copyright (C) 2010-2015 Andrea Zagli * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public @@ -19,7 +19,7 @@ #include -#include +#include #include #include "stati.h" @@ -131,7 +131,7 @@ TerritorioStati *territorio_stati_new (TerritorioCommons *commons, gboolean selezione) { GError *error; - AutozIResource *ires1; + ZakAuthoIResource *ires1; TerritorioStati *a = TERRITORIO_STATI (g_object_new (territorio_stati_get_type (), NULL)); @@ -195,8 +195,8 @@ TerritorioStati territorio_stati_carica (a); - ires1 = autoz_get_resource_from_id (priv->commons->autoz, "territorio_rw"); - if (!autoz_is_allowed (priv->commons->autoz, priv->commons->role_utente, ires1, FALSE)) + ires1 = zak_autho_get_resource_from_id (priv->commons->autoz, "territorio_rw"); + if (!zak_autho_is_allowed (priv->commons->autoz, priv->commons->role_utente, ires1, FALSE)) { gtk_widget_set_sensitive (GTK_WIDGET (gtk_builder_get_object (commons->gtkbuilder, "button1")), FALSE); gtk_widget_set_sensitive (GTK_WIDGET (gtk_builder_get_object (commons->gtkbuilder, "button3")), FALSE); @@ -416,15 +416,15 @@ static void territorio_stati_on_btn_nuovo_clicked (GtkButton *button, gpointer user_data) { - AutozIResource *ires1; + ZakAuthoIResource *ires1; GtkWidget *w; TerritorioStati *territorio_stati = (TerritorioStati *)user_data; TerritorioStatiPrivate *priv = TERRITORIO_STATI_GET_PRIVATE (territorio_stati); - ires1 = autoz_get_resource_from_id (priv->commons->autoz, "territorio_rw"); - if (!autoz_is_allowed (priv->commons->autoz, priv->commons->role_utente, ires1, FALSE)) + ires1 = zak_autho_get_resource_from_id (priv->commons->autoz, "territorio_rw"); + if (!zak_autho_is_allowed (priv->commons->autoz, priv->commons->role_utente, ires1, FALSE)) { solipa_message_dialog (GTK_WIDGET (priv->wtransient), GTK_MESSAGE_WARNING, @@ -454,7 +454,7 @@ static void territorio_stati_on_btn_elimina_clicked (GtkButton *button, gpointer user_data) { - AutozIResource *ires1; + ZakAuthoIResource *ires1; GtkTreeIter iter; guint id; @@ -464,8 +464,8 @@ territorio_stati_on_btn_elimina_clicked (GtkButton *button, if (gtk_tree_selection_get_selected (priv->selection, NULL, &iter)) { - ires1 = autoz_get_resource_from_id (priv->commons->autoz, "territorio_rw"); - if (!autoz_is_allowed (priv->commons->autoz, priv->commons->role_utente, ires1, FALSE)) + ires1 = zak_autho_get_resource_from_id (priv->commons->autoz, "territorio_rw"); + if (!zak_autho_is_allowed (priv->commons->autoz, priv->commons->role_utente, ires1, FALSE)) { solipa_message_dialog (GTK_WIDGET (priv->wtransient), GTK_MESSAGE_WARNING, diff --git a/src/stato.c b/src/stato.c index b9607cf..942a030 100644 --- a/src/stato.c +++ b/src/stato.c @@ -1,5 +1,5 @@ -/* - * Copyright (C) 2010-2012 Andrea Zagli +/* + * Copyright (C) 2010-2015 Andrea Zagli * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public @@ -18,7 +18,7 @@ */ #include -#include +#include #include #include "stato.h" @@ -115,7 +115,7 @@ TerritorioStato *territorio_stato_new (TerritorioCommons *commons, gint id) { GError *error; - AutozIResource *ires1; + ZakAuthoIResource *ires1; TerritorioStato *a = TERRITORIO_STATO (g_object_new (territorio_stato_get_type (), NULL)); @@ -165,8 +165,8 @@ TerritorioStato territorio_stato_carica (a); } - ires1 = autoz_get_resource_from_id (priv->commons->autoz, "territorio_rw"); - if (!autoz_is_allowed (priv->commons->autoz, priv->commons->role_utente, ires1, FALSE)) + ires1 = zak_autho_get_resource_from_id (priv->commons->autoz, "territorio_rw"); + if (!zak_autho_is_allowed (priv->commons->autoz, priv->commons->role_utente, ires1, FALSE)) { gtk_widget_set_sensitive (GTK_WIDGET (gtk_builder_get_object (commons->gtkbuilder, "button7")), FALSE); } diff --git a/src/tipiaggregazioneterritoriale.c b/src/tipiaggregazioneterritoriale.c index e23d083..549ff71 100644 --- a/src/tipiaggregazioneterritoriale.c +++ b/src/tipiaggregazioneterritoriale.c @@ -1,5 +1,5 @@ -/* - * Copyright (C) 2010-2012 Andrea Zagli +/* + * Copyright (C) 2010-2015 Andrea Zagli * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public @@ -17,7 +17,7 @@ * */ -#include +#include #include #include "tipiaggregazioneterritoriale.h" @@ -125,7 +125,7 @@ TerritorioTipiAggregazioneTerritoriale *territorio_tipi_aggregazione_territoriale_new (TerritorioCommons *commons, gboolean selezione) { GError *error; - AutozIResource *ires1; + ZakAuthoIResource *ires1; TerritorioTipiAggregazioneTerritoriale *a = TERRITORIO_TIPI_AGGREGAZIONE_TERRITORIALE (g_object_new (territorio_tipi_aggregazione_territoriale_get_type (), NULL)); @@ -187,8 +187,8 @@ TerritorioTipiAggregazioneTerritoriale territorio_tipi_aggregazione_territoriale_carica (a); - ires1 = autoz_get_resource_from_id (priv->commons->autoz, "territorio_rw"); - if (!autoz_is_allowed (priv->commons->autoz, priv->commons->role_utente, ires1, FALSE)) + ires1 = zak_autho_get_resource_from_id (priv->commons->autoz, "territorio_rw"); + if (!zak_autho_is_allowed (priv->commons->autoz, priv->commons->role_utente, ires1, FALSE)) { gtk_widget_set_sensitive (GTK_WIDGET (gtk_builder_get_object (commons->gtkbuilder, "button29")), FALSE); gtk_widget_set_sensitive (GTK_WIDGET (gtk_builder_get_object (commons->gtkbuilder, "button31")), FALSE); @@ -389,15 +389,15 @@ static void territorio_tipi_aggregazione_territoriale_on_btn_nuovo_clicked (GtkButton *button, gpointer user_data) { - AutozIResource *ires1; + ZakAuthoIResource *ires1; GtkWidget *w; TerritorioTipiAggregazioneTerritoriale *territorio_tipi_aggregazione_territoriale = (TerritorioTipiAggregazioneTerritoriale *)user_data; TerritorioTipiAggregazioneTerritorialePrivate *priv = TERRITORIO_TIPI_AGGREGAZIONE_TERRITORIALE_GET_PRIVATE (territorio_tipi_aggregazione_territoriale); - ires1 = autoz_get_resource_from_id (priv->commons->autoz, "territorio_rw"); - if (!autoz_is_allowed (priv->commons->autoz, priv->commons->role_utente, ires1, FALSE)) + ires1 = zak_autho_get_resource_from_id (priv->commons->autoz, "territorio_rw"); + if (!zak_autho_is_allowed (priv->commons->autoz, priv->commons->role_utente, ires1, FALSE)) { solipa_message_dialog (GTK_WIDGET (priv->wtransient), GTK_MESSAGE_WARNING, @@ -427,7 +427,7 @@ static void territorio_tipi_aggregazione_territoriale_on_btn_elimina_clicked (GtkButton *button, gpointer user_data) { - AutozIResource *ires1; + ZakAuthoIResource *ires1; GtkTreeIter iter; gchar *id; @@ -437,8 +437,8 @@ territorio_tipi_aggregazione_territoriale_on_btn_elimina_clicked (GtkButton *but if (gtk_tree_selection_get_selected (priv->selection, NULL, &iter)) { - ires1 = autoz_get_resource_from_id (priv->commons->autoz, "territorio_rw"); - if (!autoz_is_allowed (priv->commons->autoz, priv->commons->role_utente, ires1, FALSE)) + ires1 = zak_autho_get_resource_from_id (priv->commons->autoz, "territorio_rw"); + if (!zak_autho_is_allowed (priv->commons->autoz, priv->commons->role_utente, ires1, FALSE)) { solipa_message_dialog (GTK_WIDGET (priv->wtransient), GTK_MESSAGE_WARNING, diff --git a/src/tipoaggregazioneterritoriale.c b/src/tipoaggregazioneterritoriale.c index 62c752b..db3c75c 100644 --- a/src/tipoaggregazioneterritoriale.c +++ b/src/tipoaggregazioneterritoriale.c @@ -1,5 +1,5 @@ -/* - * Copyright (C) 2010-2012 Andrea Zagli +/* + * Copyright (C) 2010-2015 Andrea Zagli * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public @@ -18,7 +18,7 @@ */ #include -#include +#include #include #include "tipoaggregazioneterritoriale.h" @@ -115,7 +115,7 @@ TerritorioTipoAggregazioneTerritoriale *territorio_tipo_aggregazione_territoriale_new (TerritorioCommons *commons, gint id) { GError *error; - AutozIResource *ires1; + ZakAuthoIResource *ires1; TerritorioTipoAggregazioneTerritoriale *a = TERRITORIO_TIPO_AGGREGAZIONE_TERRITORIALE (g_object_new (territorio_tipo_aggregazione_territoriale_get_type (), NULL)); @@ -165,8 +165,8 @@ TerritorioTipoAggregazioneTerritoriale territorio_tipo_aggregazione_territoriale_carica (a); } - ires1 = autoz_get_resource_from_id (priv->commons->autoz, "territorio_rw"); - if (!autoz_is_allowed (priv->commons->autoz, priv->commons->role_utente, ires1, FALSE)) + ires1 = zak_autho_get_resource_from_id (priv->commons->autoz, "territorio_rw"); + if (!zak_autho_is_allowed (priv->commons->autoz, priv->commons->role_utente, ires1, FALSE)) { gtk_widget_set_sensitive (GTK_WIDGET (gtk_builder_get_object (commons->gtkbuilder, "button35")), FALSE); } diff --git a/src/via.c b/src/via.c index bba73e2..bdf1b17 100644 --- a/src/via.c +++ b/src/via.c @@ -1,5 +1,5 @@ -/* - * Copyright (C) 2010-2012 Andrea Zagli +/* + * Copyright (C) 2010-2015 Andrea Zagli * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public @@ -18,7 +18,7 @@ */ #include -#include +#include #include #include "via.h" @@ -117,7 +117,7 @@ TerritorioVia *territorio_via_new (TerritorioCommons *commons, gint id) { GError *error; - AutozIResource *ires1; + ZakAuthoIResource *ires1; TerritorioVia *a = TERRITORIO_VIA (g_object_new (territorio_via_get_type (), NULL)); @@ -193,16 +193,16 @@ TerritorioVia territorio_via_carica (a); } - ires1 = autoz_get_resource_from_id (priv->commons->autoz, "territorio_rw"); - if (!autoz_is_allowed (priv->commons->autoz, priv->commons->role_utente, ires1, FALSE)) + ires1 = zak_autho_get_resource_from_id (priv->commons->autoz, "territorio_rw"); + if (!zak_autho_is_allowed (priv->commons->autoz, priv->commons->role_utente, ires1, FALSE)) { gtk_widget_set_sensitive (GTK_WIDGET (gtk_builder_get_object (commons->gtkbuilder, "button52")), FALSE); } else if (priv->id != 0) { - ires1 = autoz_get_resource_from_id (priv->commons->autoz, + ires1 = zak_autho_get_resource_from_id (priv->commons->autoz, g_strdup_printf ("territorio_comuni_%d_rw", territorio_widget_get_comune (TERRITORIO_WIDGET (priv->twidget)))); - if (AUTOZ_IS_IRESOURCE (ires1) && !autoz_is_allowed (priv->commons->autoz, priv->commons->role_utente, ires1, FALSE)) + if (ZAK_AUTHO_IS_IRESOURCE (ires1) && !zak_autho_is_allowed (priv->commons->autoz, priv->commons->role_utente, ires1, FALSE)) { gtk_widget_set_sensitive (GTK_WIDGET (gtk_builder_get_object (commons->gtkbuilder, "button52")), FALSE); } @@ -292,7 +292,7 @@ static void territorio_via_salva (TerritorioVia *territorio_via) { gchar *sql; - AutozIResource *ires1; + ZakAuthoIResource *ires1; TerritorioViaClass *klass = TERRITORIO_VIA_GET_CLASS (territorio_via); @@ -303,9 +303,9 @@ territorio_via_salva (TerritorioVia *territorio_via) return; } - ires1 = autoz_get_resource_from_id (priv->commons->autoz, + ires1 = zak_autho_get_resource_from_id (priv->commons->autoz, g_strdup_printf ("territorio_comuni_%d_rw", territorio_widget_get_comune (TERRITORIO_WIDGET (priv->twidget)))); - if (AUTOZ_IS_IRESOURCE (ires1) && !autoz_is_allowed (priv->commons->autoz, priv->commons->role_utente, ires1, FALSE)) + if (ZAK_AUTHO_IS_IRESOURCE (ires1) && !zak_autho_is_allowed (priv->commons->autoz, priv->commons->role_utente, ires1, FALSE)) { solipa_message_dialog (priv->w, GTK_MESSAGE_WARNING, diff --git a/src/vie.c b/src/vie.c index bc7be91..cde43bf 100644 --- a/src/vie.c +++ b/src/vie.c @@ -1,5 +1,5 @@ -/* - * Copyright (C) 2010-2013 Andrea Zagli +/* + * Copyright (C) 2010-2015 Andrea Zagli * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public @@ -21,7 +21,7 @@ #include -#include +#include #include #include "vie.h" @@ -174,7 +174,7 @@ TerritorioVie *territorio_vie_new (TerritorioCommons *commons, gboolean selezione) { GError *error; - AutozIResource *ires1; + ZakAuthoIResource *ires1; TerritorioVie *a = TERRITORIO_VIE (g_object_new (territorio_vie_get_type (), NULL)); @@ -242,8 +242,8 @@ TerritorioVie gtk_widget_hide (GTK_WIDGET (gtk_builder_get_object (priv->commons->gtkbuilder, "button49"))); } - ires1 = autoz_get_resource_from_id (priv->commons->autoz, "territorio_rw"); - if (!autoz_is_allowed (priv->commons->autoz, priv->commons->role_utente, ires1, FALSE)) + ires1 = zak_autho_get_resource_from_id (priv->commons->autoz, "territorio_rw"); + if (!zak_autho_is_allowed (priv->commons->autoz, priv->commons->role_utente, ires1, FALSE)) { gtk_widget_set_sensitive (GTK_WIDGET (gtk_builder_get_object (commons->gtkbuilder, "button45")), FALSE); gtk_widget_set_sensitive (GTK_WIDGET (gtk_builder_get_object (commons->gtkbuilder, "button47")), FALSE); @@ -566,15 +566,15 @@ static void territorio_vie_on_btn_nuovo_clicked (GtkButton *button, gpointer user_data) { - AutozIResource *ires1; + ZakAuthoIResource *ires1; GtkWidget *w; TerritorioVie *territorio_vie = (TerritorioVie *)user_data; TerritorioViePrivate *priv = TERRITORIO_VIE_GET_PRIVATE (territorio_vie); - ires1 = autoz_get_resource_from_id (priv->commons->autoz, "territorio_rw"); - if (!autoz_is_allowed (priv->commons->autoz, priv->commons->role_utente, ires1, FALSE)) + ires1 = zak_autho_get_resource_from_id (priv->commons->autoz, "territorio_rw"); + if (!zak_autho_is_allowed (priv->commons->autoz, priv->commons->role_utente, ires1, FALSE)) { solipa_message_dialog (GTK_WIDGET (priv->wtransient), GTK_MESSAGE_WARNING, @@ -608,13 +608,13 @@ territorio_vie_on_btn_elimina_clicked (GtkButton *button, guint id; guint id_comuni; - AutozIResource *ires1; + ZakAuthoIResource *ires1; TerritorioVie *territorio_vie = (TerritorioVie *)user_data; TerritorioViePrivate *priv = TERRITORIO_VIE_GET_PRIVATE (territorio_vie); - ires1 = autoz_get_resource_from_id (priv->commons->autoz, "territorio_rw"); - if (!autoz_is_allowed (priv->commons->autoz, priv->commons->role_utente, ires1, FALSE)) + ires1 = zak_autho_get_resource_from_id (priv->commons->autoz, "territorio_rw"); + if (!zak_autho_is_allowed (priv->commons->autoz, priv->commons->role_utente, ires1, FALSE)) { solipa_message_dialog (GTK_WIDGET (priv->wtransient), GTK_MESSAGE_WARNING, @@ -629,9 +629,9 @@ territorio_vie_on_btn_elimina_clicked (GtkButton *button, COL_ID, &id, COL_ID_COMUNI, &id_comuni, -1); - ires1 = autoz_get_resource_from_id (priv->commons->autoz, + ires1 = zak_autho_get_resource_from_id (priv->commons->autoz, g_strdup_printf ("territorio_comuni_%d_rw", id_comuni)); - if (AUTOZ_IS_IRESOURCE (ires1) && !autoz_is_allowed (priv->commons->autoz, priv->commons->role_utente, ires1, FALSE)) + if (ZAK_AUTHO_IS_IRESOURCE (ires1) && !zak_autho_is_allowed (priv->commons->autoz, priv->commons->role_utente, ires1, FALSE)) { solipa_message_dialog (GTK_WIDGET (priv->wtransient), GTK_MESSAGE_WARNING, -- 2.49.0