aboutsummaryrefslogtreecommitdiff
path: root/hardinfo.c
diff options
context:
space:
mode:
Diffstat (limited to 'hardinfo.c')
-rw-r--r--hardinfo.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/hardinfo.c b/hardinfo.c
index 655bf896..34caca04 100644
--- a/hardinfo.c
+++ b/hardinfo.c
@@ -1,6 +1,6 @@
/*
* HardInfo - Displays System Information
- * Copyright (C) 2003-2007 Leandro A. F. Pereira <leandro@linuxmag.com.br>
+ * Copyright (C) 2003-2007 Leandro A. F. Pereira <leandro@hardinfo.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -34,11 +34,9 @@ int main(int argc, char **argv)
DEBUG("HardInfo version " VERSION ". Debug version.");
-#ifdef HAS_LIBSOUP
DEBUG("g_thread_init()");
if (!g_thread_supported())
g_thread_init(NULL);
-#endif /* HAS_LIBSOUP */
/* parse all command line parameters */
parameters_init(&argc, &argv, &params);
@@ -47,7 +45,7 @@ int main(int argc, char **argv)
if (params.show_version) {
g_print("HardInfo version " VERSION "\n");
g_print
- ("Copyright (C) 2003-2007 Leandro A. F. Pereira. See COPYING for details.\n\n");
+ ("Copyright (C) 2003-2008 Leandro A. F. Pereira. See COPYING for details.\n\n");
g_print("Compile-time options:\n"
" Release version: %s (%s)\n"
@@ -120,6 +118,7 @@ int main(int argc, char **argv)
shell_init(modules);
DEBUG("entering gtk+ main loop");
+
gtk_main();
} else if (params.create_report) {
/* generate report */