summaryrefslogtreecommitdiff
path: root/mate-dictionary/src/main.c
blob: f6dcc94d644a2cb11c61fa30b3724f542f3aa9f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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;
}