summaryrefslogtreecommitdiff
path: root/mate-dictionary/src/main.c
blob: a89a5754159e3f8954f7f0979abcd5553273d3be (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;
}