diff options
author | Simon Quigley <tsimonq2@ubuntu.com> | 2017-06-19 14:38:48 -0500 |
---|---|---|
committer | Simon Quigley <tsimonq2@ubuntu.com> | 2017-06-19 14:38:48 -0500 |
commit | 4979bb6cbbbe39eb44c32530cd13f86bf44e5d77 (patch) | |
tree | 614372cf2510ad45311ecea088012683635d0b76 /hardinfo.c | |
parent | ee6c3f9b4cf08a276c971dee66e1acdb32b3dff9 (diff) |
Import Upstream version 0.5c
Diffstat (limited to 'hardinfo.c')
-rw-r--r-- | hardinfo.c | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -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, ¶ms); @@ -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 */ |