getLocalIp/main.c
#include <gtk/gtk.h>
#include "globals.c"
#include "win1.c"
#include <libintl.h>
#include <locale.h>
#define MOFILENAME "main"
int
main (int argc, char *argv[])
{
setlocale (LC_ALL, "");
gchar* MainBinDir = g_path_get_dirname(argv[0]);
gchar* localeDir = g_build_filename (MainBinDir, "locale", NULL);
bindtextdomain (MOFILENAME, localeDir);
bind_textdomain_codeset (MOFILENAME, "UTF-8");
textdomain (MOFILENAME);
gtk_init (&argc, &argv);
initWindow1();
gtk_main ();
return 0;
}