diff options
author | Stefano Karapetsas <[email protected]> | 2011-12-14 10:13:54 +0100 |
---|---|---|
committer | Stefano Karapetsas <[email protected]> | 2011-12-14 10:13:54 +0100 |
commit | ef0467789bfc8406b57ba553e4d59f4d6c3f9be8 (patch) | |
tree | 09d541636a16cb38448fe6183289ebdc3080c1bf /mate-dictionary/src/main.c | |
download | mate-utils-ef0467789bfc8406b57ba553e4d59f4d6c3f9be8.tar.bz2 mate-utils-ef0467789bfc8406b57ba553e4d59f4d6c3f9be8.tar.xz |
Moved from Mate-Extra repository
Diffstat (limited to 'mate-dictionary/src/main.c')
-rw-r--r-- | mate-dictionary/src/main.c | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/mate-dictionary/src/main.c b/mate-dictionary/src/main.c new file mode 100644 index 00000000..f6dcc94d --- /dev/null +++ b/mate-dictionary/src/main.c @@ -0,0 +1,24 @@ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + +#include <stdio.h> +#include <stdlib.h> +#include <libintl.h> + +#include "gdict-app.h" + +int main (int argc, char *argv[]) +{ + bindtextdomain (GETTEXT_PACKAGE, MATELOCALEDIR); + bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8"); + textdomain (GETTEXT_PACKAGE); + + gdict_init (&argc, &argv); + + gdict_main (); + + gdict_cleanup (); + + return EXIT_SUCCESS; +} |