logdiag/src/logdiag.c
Přemysl Janouch 721cc30478 Overall cleanup.
* Add missing asserts to exported functions.
* Unify formatting.
* Fix the gtk-doc comment for ld_symbol_category_set_human_name().
* Make ld_library_load() reflect it's declaration.
* Remove an unused variable in ld_library_load_cb().
* Change all char's to gchar's.
2010-12-16 06:51:18 +01:00

41 lines
654 B
C

/*
* 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;
}