From: Andrea Zagli Date: Wed, 16 Nov 2016 15:48:37 +0000 (+0100) Subject: Migrato a Gtk3. X-Git-Url: https://saetta.ns0.it/gitweb?a=commitdiff_plain;h=9c43554d4ff8e2ce288bd40243f6966c37eb3318;p=albonline%2Fbe Migrato a Gtk3. --- diff --git a/.gitignore b/.gitignore index b6d9ec9..680d8bf 100644 --- a/.gitignore +++ b/.gitignore @@ -29,3 +29,4 @@ src/.deps/ src/Makefile src/Makefile.in stamp-h1 +compile \ No newline at end of file diff --git a/config.h.in b/config.h.in index dd3b02c..22d07be 100644 --- a/config.h.in +++ b/config.h.in @@ -1,5 +1,53 @@ /* config.h.in. Generated from configure.ac by autoheader. */ +/* always defined to indicate that i18n is enabled */ +#undef ENABLE_NLS + +/* The prefix for our gettext translation domains. */ +#undef GETTEXT_PACKAGE + +/* Define to 1 if you have the `bind_textdomain_codeset' function. */ +#undef HAVE_BIND_TEXTDOMAIN_CODESET + +/* Define to 1 if you have the `dcgettext' function. */ +#undef HAVE_DCGETTEXT + +/* Define if the GNU gettext() function is already present or preinstalled. */ +#undef HAVE_GETTEXT + +/* Define to 1 if you have the header file. */ +#undef HAVE_INTTYPES_H + +/* Define if your file defines LC_MESSAGES. */ +#undef HAVE_LC_MESSAGES + +/* Define to 1 if you have the header file. */ +#undef HAVE_LOCALE_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 + /* Name of package */ #undef PACKAGE @@ -21,5 +69,8 @@ /* 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 df91f99..2903d93 100644 --- a/configure.ac +++ b/configure.ac @@ -1,12 +1,12 @@ # -*- Autoconf -*- # Process this file with autoconf to produce a configure script. -m4_define(major, 0) -m4_define(minor, 0) -m4_define(micro, 1) +m4_define(maj, 0) +m4_define(min, 0) +m4_define(mic, 2) AC_PREREQ([2.61]) -AC_INIT([messi], [major.minor.micro], [azagli@libero.it]) +AC_INIT([messi], [maj.min.mic], [azagli@libero.it]) AC_CONFIG_SRCDIR([src/main.c]) AC_CONFIG_HEADERS([config.h]) @@ -22,16 +22,15 @@ AC_CANONICAL_SYSTEM AC_PROG_CC # Checks for libraries. -PKG_CHECK_MODULES([MESSI], [gtk+-2.0 >= 2.12.0 - libgtkform >= 0.4.0 - libgtkformui >= 0.4.0 - libaute >= 0.0.2 - libautoz >= 0.0.1 - libautozgui >= 0.0.1 - libsolipa >= 0.3.1 +PKG_CHECK_MODULES([MESSI], [gtk+-3.0 >= 3.0.0 + libgtkform >= 0.5.0 + libgtkformui >= 0.5.0 + libaute >= 0.2.0 + libautoz >= 0.0.5 + libsolipa >= 0.5.0 liborganigramma >= 0.0.1 - libzakaudit >= 0.0.2 - libreptool >= 0.2.2]) + libzakaudit >= 0.5.0 + libreptool >= 0.5.0]) AC_SUBST(MESSI_CFLAGS) AC_SUBST(MESSI_LIBS) @@ -42,6 +41,16 @@ AC_SUBST(MESSI_LIBS) # Checks for library functions. +dnl ****************************** +dnl Translations +dnl ****************************** +GETTEXT_PACKAGE=ambulanti +AC_SUBST(GETTEXT_PACKAGE) +AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE", + [The prefix for our gettext translation domains.]) +AM_GLIB_GNU_GETTEXT + + dnl ****************************** dnl Check for Operating System dnl ****************************** @@ -58,9 +67,9 @@ esac AM_CONDITIONAL(PLATFORM_WIN32, [test $platform_win32 = yes]) -AC_SUBST(V_MAJOR, major) -AC_SUBST(V_MINOR, minor) -AC_SUBST(V_MICRO, micro) +AC_SUBST(V_MAJOR, maj) +AC_SUBST(V_MINOR, min) +AC_SUBST(V_MICRO, mic) AC_CONFIG_FILES([ Makefile @@ -68,9 +77,9 @@ AC_CONFIG_FILES([ data/messi/Makefile data/messi/form/Makefile data/messi/gui/Makefile - docs/Makefile - docs/messi/Makefile - docs/messi/examples/Makefile + docs/Makefile + docs/messi/Makefile + docs/messi/examples/Makefile src/Makefile ]) diff --git a/data/messi/gui/messi.gui b/data/messi/gui/messi.gui index 971a535..eddcf77 100644 --- a/data/messi/gui/messi.gui +++ b/data/messi/gui/messi.gui @@ -1,45 +1,8 @@ + - - - - - False - 5 - Informazioni su... - True - center-on-parent - True - normal - w_main - Gestione Messi Notificatori - 0.0.1 - Copyright © 2013 Andrea Zagli <azagli@libero.it> - Andrea Zagli <azagli@libero.it> - - - True - False - 2 - - - True - False - end - - - False - True - end - 0 - - - - - - - - + + @@ -60,64 +23,15 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - False Atti - Gestione messi notificatori - + True False 5 + vertical 5 @@ -136,8 +50,6 @@ True True - automatic - automatic etched-in @@ -146,6 +58,9 @@ lstore_atti True 1 + + + ID @@ -244,7 +159,7 @@ - + True False 5 @@ -371,6 +286,20 @@ + + + + + + + + + + + + + + False Atto - Gestione messi notificatori @@ -379,56 +308,41 @@ 600 True - + True False 5 + vertical 5 - + True False - 10 - 2 - 5 5 + 5 True False - 0 + start ID - GTK_FILL - GTK_FILL + 0 + 0 True False - 0 + start + True lbl_id 1 - 2 - GTK_FILL - - - - - True - False - 0 - Numero - - - 1 - 2 - GTK_FILL - GTK_FILL + 0 @@ -439,29 +353,10 @@ • False False - True - True 1 - 2 1 - 2 - GTK_FILL - - - - - True - False - 0 - Tipo - - - 2 - 3 - GTK_FILL - GTK_FILL @@ -471,24 +366,7 @@ 1 - 2 2 - 3 - GTK_FILL - - - - - True - False - 0 - Oggetto - - - 3 - 4 - GTK_FILL - GTK_FILL @@ -499,57 +377,10 @@ • False False - True - True 1 - 2 3 - 4 - GTK_FILL - - - - - True - False - 0 - Data ricezione - - - 5 - 6 - GTK_FILL - GTK_FILL - - - - - True - False - 0 - Data inizio pubblicazione - - - 6 - 7 - GTK_FILL - GTK_FILL - - - - - True - False - 0 - Data fine pubblicazione - - - 7 - 8 - GTK_FILL - GTK_FILL @@ -560,15 +391,10 @@ • False False - True - True 1 - 2 5 - 6 - GTK_FILL @@ -579,15 +405,10 @@ • False False - True - True 1 - 2 6 - 7 - GTK_FILL @@ -598,38 +419,16 @@ • False False - True - True 1 - 2 7 - 8 - GTK_FILL - - - - - True - False - 0 - 0 - Note - - - 8 - 9 - GTK_FILL - GTK_FILL True True - automatic - automatic etched-in @@ -640,9 +439,7 @@ 1 - 2 8 - 9 @@ -651,7 +448,7 @@ False 0 - + True False 5 @@ -660,8 +457,6 @@ True True - automatic - automatic etched-in @@ -671,6 +466,9 @@ False True 0 + + + Titolo @@ -703,9 +501,10 @@ - + True False + vertical 5 start @@ -783,9 +582,9 @@ - 2 + 0 9 - 10 + 2 @@ -795,24 +594,104 @@ 1 - 2 4 - 5 - GTK_FILL + + + + + True + False + start + Numero + + + 0 + 1 + + + + + True + False + start + Tipo + + + 0 + 2 + + + + + True + False + start + Oggetto + + + 0 + 3 True False - 0 + start Ufficio + 0 4 - 5 - GTK_FILL - GTK_FILL + + + + + True + False + start + Data ricezione + + + 0 + 5 + + + + + True + False + start + Data inizio pubblicazione + + + 0 + 6 + + + + + True + False + start + Data fine pubblicazione + + + 0 + 7 + + + + + True + False + start + start + Note + + + 0 + 8 @@ -823,7 +702,7 @@ - + True False 5 @@ -880,484 +759,43 @@ - - False - Allegato - Amministrazione aperta - True - center-on-parent - 480 - True - - - True - False - 5 - 5 - - - True - False - 7 - 2 - 5 - 5 - - - - - - True - False - 0 - ID - - - GTK_FILL - GTK_FILL - - - - - True - False - 0 - lbl_id - - - 1 - 2 - GTK_FILL - - - - - True - False - 0 - Descrizione - - - 2 - 3 - GTK_FILL - GTK_FILL - - - - - True - True - 255 - ● - True - True - False - False - True - True - - - 1 - 2 - 2 - 3 - GTK_FILL - - - - - True - False - 0 - 0 - Note - - - 4 - 5 - GTK_FILL - GTK_FILL - - - - - True - True - automatic - automatic - etched-in - - - True - True - - - - - 1 - 2 - 4 - 5 - - - - - True - False - 0 - Data documento - - - 3 - 4 - GTK_FILL - GTK_FILL - - - - - True - True - 10 - ● - True - True - False - False - True - True - - - 1 - 2 - 3 - 4 - GTK_FILL - - - - - True - False - 0 - Titolo - - - 1 - 2 - GTK_FILL - GTK_FILL - - - - - True - True - 255 - ● - True - True - False - False - True - True - - - 1 - 2 - 1 - 2 - GTK_FILL - - - - - True - False - 0 - - - True - False - 12 - - - - - - - - True - False - <b>File</b> - True - - - - - 2 - 5 - 6 - GTK_FILL - - - - - False - lbl_id_atti - - - 1 - 2 - 6 - 7 - GTK_FILL - GTK_FILL - - - - - True - True - 0 - - - - - True - False - 5 - end - - - gtk-cancel - True - True - True - True - - - False - False - 0 - - - - - gtk-save - True - True - True - True - True - True - - - False - False - 1 - - - - - Salva e _chiudi - True - True - True - True - - - False - False - 2 - - - - - False - True - 1 - - - - - - - False - Gestione messi notificatori - center - 600 - 450 - - - - True - False - - - True - False - - - True - False - _File - True - - - True - False - - - gtk-quit - True - False - True - True - - - - - - - - - - True - False - _Visualizza - True - - - True - False - - - True - False - _Albo pretorio - True - - - True - False - - - True - False - _Atti - True - - - - - - True - False - _Registro - True - - - - - - - - - - - - - - True - False - _Tabelle - True - - - True - False - - - True - False - Ti_pi atto - True - - - - - - - - - - True - False - A_iuto - True - - - True - False - - - gtk-about - True - False - True - True - - - - - - - - - - False - True - 0 - - - - - True - False - - - - - - True - True - 1 - - - - - True - False - 2 - - - False - True - 2 - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + False Registro Albo Pretorio - Gestione messi notificatori - + True False 5 + vertical 5 @@ -1376,8 +814,6 @@ True True - automatic - automatic etched-in @@ -1387,6 +823,9 @@ False True 1 + + + ID @@ -1476,23 +915,222 @@ - - Data inizio pubblicazione + + Data inizio pubblicazione + + + + 6 + + + + + + + Data fine pubblicazione + + + + 7 + + + + + + + + + True + True + 1 + + + + + True + False + 5 + end + + + gtk-open + True + True + True + True + + + False + False + 0 + + + + + _Ratifica + True + True + True + True + + + False + False + 1 + + + + + De_pubblica + True + True + True + True + + + False + False + 2 + + + + + _Esporta + True + True + True + True + + + False + False + 3 + + + + + gtk-find + True + True + True + True + + + False + False + 4 + + + + + gtk-cancel + True + True + True + True + + + False + False + 5 + + + + + gtk-ok + True + True + True + True + + + False + False + 6 + + + + + False + True + 2 + + + + + + + + + + + + + + + False + Tipi atto - Gestione messi notificatori + True + center-on-parent + 500 + 350 + True + + + True + True + 6 + vertical + 5 + + + True + False + <b>Tipi atto</b> + True + + + False + True + 0 + + + + + True + True + etched-in + + + True + True + lstore_tipi_atto + False + True + 1 + + + + + + ID - + + 1 + - 6 + 0 - - Data fine pubblicazione + + Descrizione - + - 7 + 1 @@ -1507,14 +1145,14 @@ - + True False 5 end - - gtk-open + + gtk-new True True True @@ -1527,12 +1165,12 @@ - - _Ratifica + + gtk-edit True True True - True + True False @@ -1541,12 +1179,12 @@ - - De_pubblica + + gtk-delete True True True - True + True False @@ -1555,12 +1193,12 @@ - - _Esporta + + gtk-cancel True True True - True + True False @@ -1569,8 +1207,244 @@ - - gtk-find + + gtk-ok + True + True + True + True + + + False + False + 4 + + + + + False + True + 2 + + + + + + + False + Allegato - Amministrazione aperta + True + center-on-parent + 480 + True + + + True + False + 5 + vertical + 5 + + + True + False + 5 + 5 + + + True + False + start + True + lbl_id + + + 1 + 0 + + + + + True + True + 255 + ● + True + False + False + + + 1 + 2 + + + + + True + True + etched-in + + + True + True + + + + + 1 + 4 + + + + + True + True + 10 + ● + True + False + False + + + 1 + 3 + + + + + True + True + 255 + ● + True + False + False + + + 1 + 1 + + + + + True + False + 0 + + + True + False + 12 + + + + + + + + True + False + <b>File</b> + True + + + + + 0 + 5 + 2 + + + + + False + lbl_id_atti + + + 1 + 6 + + + + + True + False + start + Titolo + + + 0 + 1 + + + + + True + False + start + Descrizione + + + 0 + 2 + + + + + True + False + start + Data documento + + + 0 + 3 + + + + + True + False + start + start + Note + + + 0 + 4 + + + + + True + False + start + ID + + + 0 + 0 + + + + + + + + True + True + 0 + + + + + True + False + 5 + end + + + gtk-cancel True True True @@ -1579,199 +1453,209 @@ False False - 4 + 0 - - gtk-cancel + + gtk-save True True + True + True True True False False - 5 + 1 - - gtk-ok + + Salva e _chiudi True True True - True + True False False - 6 + 2 False True - 2 + 1 - + False - Tipi atto - Gestione messi notificatori - True - center-on-parent - 500 - 350 - True + Gestione messi notificatori + center + 600 + 450 + - + True - True - 6 - 5 + False + vertical - + True False - <b>Tipi atto</b> - True - - - False - True - 0 - - - - - True - True - automatic - automatic - etched-in - + True - True - lstore_tipi_atto - False - True - 1 - - - ID + False + _File + True + + + True + False - - 1 + + gtk-quit + True + False + True + True + - - 0 - - - - - - - Descrizione - - - - 1 - - - - True - True - 1 - - - - - True - False - 5 - end - - - gtk-new - True - True - True - True - - - False - False - 0 - - - - gtk-edit + True - True - True - True + False + _Visualizza + True + + + True + False + + + True + False + _Albo pretorio + True + + + True + False + + + True + False + _Atti + True + + + + + + True + False + _Registro + True + + + + + + + + + - - False - False - 1 - - - gtk-delete + True - True - True - True + False + _Tabelle + True + + + True + False + + + True + False + Ti_pi atto + True + + + + + - - False - False - 2 - - - gtk-cancel + True - True - True - True + False + A_iuto + True + + + True + False + + + gtk-about + True + False + True + True + + + + + - - False - False - 3 - + + + False + True + 0 + + + + + True + False - - gtk-ok - True - True - True - True - - - False - False - 4 - + + + True + True + 1 + + + + + True + False + 2 + False True @@ -1781,6 +1665,45 @@ + + False + 5 + Informazioni su... + True + center-on-parent + True + normal + w_main + Gestione Messi Notificatori + 0.0.2 + Copyright © 2013-2016 Andrea Zagli <azagli@libero.it> + Andrea Zagli <azagli@libero.it> + image-missing + + + True + False + vertical + 2 + + + True + False + end + + + False + True + end + 0 + + + + + + + + False Tipo atto - Gestione messi notificatori @@ -1788,56 +1711,41 @@ center-on-parent True - + True False 5 + vertical 5 - + True False - 2 - 2 - 5 5 + 5 True False - 0 + start ID - GTK_FILL - GTK_FILL - - - - - True - False - 0 - Descrizione - - - 1 - 2 - GTK_FILL - GTK_FILL + 0 + 0 True False - 0 + start + True lbl_id 1 - 2 - GTK_FILL + 0 @@ -1847,18 +1755,24 @@ 150 ● True - True False False - True - True 1 - 2 1 - 2 - GTK_FILL + + + + + True + False + start + Descrizione + + + 0 + 1 @@ -1869,7 +1783,7 @@ - + True False 5 @@ -1935,31 +1849,28 @@ 450 True - + True False 5 + vertical 5 - + True False - 6 - 2 - 5 5 + 5 True False - 0 + start Tipo + 0 1 - 2 - GTK_FILL - GTK_FILL @@ -1970,10 +1881,7 @@ 1 - 2 1 - 2 - GTK_FILL @@ -1984,42 +1892,11 @@ 1 - 2 - 3 - 4 - GTK_FILL - - - - - True - False - 0 - Ufficio - - 3 - 4 - GTK_FILL - GTK_FILL - - True - False - 0 - Pubblicazione - da data - - - 5 - 6 - GTK_FILL - GTK_FILL - - - - + True False 5 @@ -2029,11 +1906,8 @@ True 10 ● - True False False - True - True True @@ -2045,7 +1919,7 @@ True False - 0 + start a data @@ -2060,11 +1934,8 @@ True 10 ● - True False False - True - True True @@ -2075,57 +1946,26 @@ 1 - 2 5 - 6 - GTK_FILL - - - - - True - False - 0 - Numero - - - GTK_FILL - GTK_FILL True True + True 10 • False False - True - True 1 - 2 - GTK_FILL - - - - - True - False - 0 - Ricezione - da data - - - 4 - 5 - GTK_FILL - GTK_FILL + 0 - + True False 5 @@ -2135,11 +1975,8 @@ True 10 ● - True False False - True - True True @@ -2151,7 +1988,7 @@ True False - 0 + start a data @@ -2166,11 +2003,8 @@ True 10 ● - True False False - True - True True @@ -2181,43 +2015,81 @@ 1 - 2 4 - 5 - GTK_FILL + + + + + True + True + 255 + • + False + False + + + 1 + 2 + + + + + True + False + start + Numero + + + 0 + 0 True False - 0 + start Oggetto + 0 2 - 3 - GTK_FILL - GTK_FILL - + True - True - 255 - • - False - False - True - True + False + start + Ufficio - 1 - 2 - 2 - 3 - GTK_FILL + 0 + 3 + + + + + True + False + start + Pubblicazione - da data + + + 0 + 5 + + + + + True + False + start + Ricezione - da data + + + 0 + 4 @@ -2228,7 +2100,7 @@ - + True False 5 @@ -2294,31 +2166,28 @@ 450 True - + True False 5 + vertical 5 - + True False - 8 - 2 - 5 5 + 5 True False - 0 + start Tipo + 0 2 - 3 - GTK_FILL - GTK_FILL @@ -2329,10 +2198,7 @@ 1 - 2 2 - 3 - GTK_FILL @@ -2343,42 +2209,35 @@ 1 - 2 4 - 5 - GTK_FILL True False - 0 + start Ufficio + 0 4 - 5 - GTK_FILL - GTK_FILL True False - 0 + start Pubblicazione - da data + 0 6 - 7 - GTK_FILL - GTK_FILL - + True False 5 @@ -2388,11 +2247,8 @@ True 10 ● - True False False - True - True True @@ -2404,7 +2260,7 @@ True False - 0 + start a data @@ -2419,11 +2275,8 @@ True 10 ● - True False False - True - True True @@ -2434,24 +2287,19 @@ 1 - 2 6 - 7 - GTK_FILL True False - 0 + start Numero + 0 1 - 2 - GTK_FILL - GTK_FILL @@ -2460,36 +2308,16 @@ True 10 • - True False False - True - True 1 - 2 1 - 2 - GTK_FILL - - - - - True - False - 0 - Ricezione - da data - - - 5 - 6 - GTK_FILL - GTK_FILL - + True False 5 @@ -2499,11 +2327,8 @@ True 10 ● - True False False - True - True True @@ -2515,7 +2340,7 @@ True False - 0 + start a data @@ -2530,11 +2355,8 @@ True 10 ● - True False False - True - True True @@ -2545,24 +2367,7 @@ 1 - 2 5 - 6 - GTK_FILL - - - - - True - False - 0 - Oggetto - - - 3 - 4 - GTK_FILL - GTK_FILL @@ -2571,36 +2376,19 @@ True 255 • - True False False - True - True 1 - 2 3 - 4 - GTK_FILL - - - - - True - False - 0 - Azione - da data - - - GTK_FILL - GTK_FILL - + True False + True 5 @@ -2608,11 +2396,8 @@ True 10 ● - True False False - True - True True @@ -2624,7 +2409,6 @@ True False - 0 a data @@ -2639,11 +2423,8 @@ True 10 ● - True False False - True - True True @@ -2654,37 +2435,67 @@ 1 - 2 - GTK_FILL + 0 - + True - False - 0 - Da ratificare + True + False + True + 1 7 - 8 - GTK_FILL - GTK_FILL - + True - True - False - True + False + start + Azione - da data - 1 - 2 + 0 + 0 + + + + + True + False + start + Oggetto + + + 0 + 3 + + + + + True + False + start + Ricezione - da data + + + 0 + 5 + + + + + True + False + start + Da ratificare + + + 0 7 - 8 - GTK_FILL @@ -2695,7 +2506,7 @@ - + True False 5 diff --git a/src/atti.c b/src/atti.c index 847d956..05ab168 100644 --- a/src/atti.c +++ b/src/atti.c @@ -1,5 +1,5 @@ -/* - * Copyright (C) 2013 Andrea Zagli +/* + * Copyright (C) 2013-2016 Andrea Zagli * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public @@ -522,7 +522,7 @@ atti_on_key_release_event (GtkWidget *widget, GdkEventKey *event, gpointer user_data) { - if (event->keyval == GDK_Escape) + if (event->keyval == GDK_KEY_Escape) { AttiPrivate *priv = ATTI_GET_PRIVATE ((Atti *)user_data); diff --git a/src/atto.c b/src/atto.c index 43d1b51..a44a679 100644 --- a/src/atto.c +++ b/src/atto.c @@ -1,4 +1,4 @@ -/* +/* * Copyright (C) 2013 Andrea Zagli * * This library is free software; you can redistribute it and/or @@ -568,7 +568,7 @@ atto_on_key_release_event (GtkWidget *widget, GdkEventKey *event, gpointer user_data) { - if (event->keyval == GDK_Escape) + if (event->keyval == GDK_KEY_Escape) { AttoPrivate *priv = ATTO_GET_PRIVATE ((Atto *)user_data); diff --git a/src/commons.h b/src/commons.h index 914fbb8..dcb1d95 100644 --- a/src/commons.h +++ b/src/commons.h @@ -1,5 +1,5 @@ /* - * Copyright (C) 2013 Andrea Zagli + * Copyright (C) 2013-2016 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 @@ -34,7 +34,6 @@ #include #include -#include typedef struct { @@ -58,7 +57,6 @@ typedef struct TerritorioCommons *territorio_commons; OrganigrammaCommons *organigramma_commons; - AutozGuiCommons *autozgui_commons; guint pr_cod_prat; } Commons; diff --git a/src/main.c b/src/main.c index 8a42419..c5277e8 100644 --- a/src/main.c +++ b/src/main.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2009-2013 Andrea Zagli + * Copyright (C) 2009-2016 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 @@ -30,7 +30,6 @@ #include #include #include -#include #include "commons.h" #include "atti.h" @@ -562,7 +561,6 @@ main (int argc, char *argv[]) commons->gtkbuilder = gtk_builder_new (); commons->territorio_commons->gtkbuilder = gtk_builder_new (); commons->organigramma_commons->gtkbuilder = gtk_builder_new (); - commons->autozgui_commons->gtkbuilder = gtk_builder_new (); error = NULL; gtk_builder_add_objects_from_file (commons->gtkbuilder, commons->guifile,