diff options
author | Olliver Schinagl <oliver@schinagl.nl> | 2015-01-27 19:15:46 (GMT) |
---|---|---|
committer | Olliver Schinagl <oliver@schinagl.nl> | 2015-01-27 19:15:46 (GMT) |
commit | 252a3bbc3f60ff8d7d8bceefc85286b7fcf97842 (patch) | |
tree | a227b32363126d131798b4e9e90eab6a8c934bcc /src | |
parent | 1c8a1bed4e93a96ca503d37d3d43d5ce13a12002 (diff) | |
download | eulogium-252a3bbc3f60ff8d7d8bceefc85286b7fcf97842.zip eulogium-252a3bbc3f60ff8d7d8bceefc85286b7fcf97842.tar.gz eulogium-252a3bbc3f60ff8d7d8bceefc85286b7fcf97842.tar.bz2 |
temp buff
Diffstat (limited to 'src')
-rw-r--r-- | src/Makefile.am | 2 | ||||
-rwxr-xr-x | src/eulogium | bin | 0 -> 22652 bytes | |||
-rw-r--r-- | src/eulogium.c | 9 |
3 files changed, 9 insertions, 2 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index eb42730..a0417e7 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -15,4 +15,4 @@ eulogium_SOURCES = eulogium.c eulogium_LDADD = @EFL_LIBS@ localedir = $(datadir)/locale -DEFS = -DLOCALEDIR=\"$(localedir)\" @DEFS@ +DEFS = -DLOCALE_DIR=\"$(localedir)\" @DEFS@ diff --git a/src/eulogium b/src/eulogium Binary files differnew file mode 100755 index 0000000..354cdf9 --- /dev/null +++ b/src/eulogium diff --git a/src/eulogium.c b/src/eulogium.c index e97758c..ba97db3 100644 --- a/src/eulogium.c +++ b/src/eulogium.c @@ -50,11 +50,14 @@ int main(int argc EINA_UNUSED, char **argv EINA_UNUSED) #if ENABLE_NLS setlocale(LC_ALL, ""); - bindtextdomain(PACKAGE, LOCALEDIR); + bindtextdomain(PACKAGE, LOCALE_DIR); bind_textdomain_codeset(PACKAGE, "UTF-8"); textdomain(PACKAGE); #endif + if (!eina_init()) + return EXIT_FAILURE; + if (!ecore_evas_init()) return EXIT_FAILURE; @@ -76,6 +79,10 @@ int main(int argc EINA_UNUSED, char **argv EINA_UNUSED) if (args == 1) ecore_getopt_help(stderr, &optdesc); + + + eina_prefix_free(prefix); + eina_shutdown(); ecore_evas_shutdown(); edje_shutdown(); |