]> saetta.ns0.it Git - solipa/organigramma/commitdiff
Deprecazioni libsolipa -> libzakutils.
authorAndrea Zagli <azagli@libero.it>
Sat, 12 Nov 2016 09:28:41 +0000 (10:28 +0100)
committerAndrea Zagli <azagli@libero.it>
Sat, 12 Nov 2016 09:28:41 +0000 (10:28 +0100)
configure.ac
src/persone.c

index 1a229f5bf70ea9003629b112a2e20159835c1dfb..e37313f7d7839ac253e5915177d6d1fed8afd793 100644 (file)
@@ -44,6 +44,7 @@ AC_PATH_PROG(GLIB_GENMARSHAL, glib-genmarshal)
 # Checks for libraries.
 PKG_CHECK_MODULES(ORGANIGRAMMA, [gio-2.0 >= 2.36
                                  gtk+-3.0 >= 3.0
+                                 libzakutils
                                  libgtkform >= 0.5.0
                                  libzakconfi >= 0.10.0
                                  libzakauthe >= 0.5.99
index afe16d46d6506c99179970f10c918301d283debe..2aad9311625491fc4a80bb028d523db818e1ce22 100644 (file)
@@ -18,7 +18,7 @@
  */
 
 #include <libzakautho/autoz.h>
-#include <libsolipa/utils.h>
+#include <libzakutils/libzakutils.h>
 
 #include "persone.h"
 #include "persona.h"
@@ -253,8 +253,8 @@ organigramma_persone_carica (OrganigrammaPersone *persone)
                                        sql_where = g_strconcat (sql_where,
                                                                 g_strdup_printf (" AND pu.da_data <= '%s'"
                                                                                  " AND (pu.a_data IS NULL OR pu.a_data >= '%s')",
-                                                                                 solipa_gdatetime_format (priv->when, "%F"),
-                                                                                 solipa_gdatetime_format (priv->when, "%F")),
+                                                                                 zak_utils_gdatetime_format (priv->when, "%F"),
+                                                                                 zak_utils_gdatetime_format (priv->when, "%F")),
                                                                 NULL);
                                }
                        else
@@ -262,8 +262,8 @@ organigramma_persone_carica (OrganigrammaPersone *persone)
                                        sql_where = g_strconcat (sql_where,
                                                                 g_strdup_printf (" AND pu.da_data <= '%s'"
                                                                                  " AND (pu.a_data IS NULL OR pu.a_data >= '%s')",
-                                                                                 solipa_gdatetime_format (g_date_time_new_now_local (), "%F"),
-                                                                                 solipa_gdatetime_format (g_date_time_new_now_local (), "%F")),
+                                                                                 zak_utils_gdatetime_format (g_date_time_new_now_local (), "%F"),
+                                                                                 zak_utils_gdatetime_format (g_date_time_new_now_local (), "%F")),
                                                                 NULL);
                                }
                }