aboutsummaryrefslogtreecommitdiff
path: root/src/logdiag.c
blob: 18ea8430a82a6d7e0330bb20a964ea2acf0cd211 (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
41
/*
 * logdiag.c -- logdiag main source file.
 *
 * This file is a part of logdiag.
 * Copyright Přemysl Janouch 2010 - 2011. 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);
	bind_textdomain_codeset (GETTEXT_DOMAIN, "UTF-8");
	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;
}