summaryrefslogtreecommitdiff
path: root/src/logdiag.c
blob: 9752978ed94595c425de6ea75f94a3b4c86fd49c (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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
/*
 * logdiag.c -- logdiag main source file.
 *
 * This file is a part of logdiag.
 * Copyright Přemysl Janouch 2010. All rights reserved.
 *
 * See the file LICENSE for licensing information.
 *
 */

#include <gtk/gtk.h>

#include "config.h"

#include "ld-window-main.h"


int
main (int argc, char *argv[])
{
	GtkWidget *wnd;

#ifdef HAVE_GETTEXT
	setlocale (LC_ALL, "");

	bindtextdomain (GETTEXT_DOMAIN, GETTEXT_DIRNAME);
	textdomain (GETTEXT_DOMAIN);
#endif

	/* For custom command line arguments, see:
	 * http://git.gnome.org/browse/glade3/tree/src/main.c
	 */

	gtk_init (&argc, &argv);
	wnd = ld_window_main_new ();
	gtk_main ();

	return 0;
}