diff options
author | Leandro A. F. Pereira <leandro@hardinfo.org> | 2009-04-26 02:07:21 -0300 |
---|---|---|
committer | Leandro A. F. Pereira <leandro@hardinfo.org> | 2009-04-26 02:07:21 -0300 |
commit | f5cf5653e095790b217da6a393429e74e5a8287a (patch) | |
tree | c67766621ce8bf59135ad236738c5cd0e90670d7 /hardinfo2/hardinfo.c | |
parent | 1625f347f4e5bd33138e8c11cbfeb852943ec9d4 (diff) |
Implement more methods; this will be cleaned up later.
Diffstat (limited to 'hardinfo2/hardinfo.c')
-rw-r--r-- | hardinfo2/hardinfo.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/hardinfo2/hardinfo.c b/hardinfo2/hardinfo.c index ac52a9a4..ef41a32e 100644 --- a/hardinfo2/hardinfo.c +++ b/hardinfo2/hardinfo.c @@ -91,7 +91,7 @@ int main(int argc, char **argv) return 0; } - if (!params.create_report && !params.run_benchmark) { + if (!params.create_report && !params.run_benchmark && !params.run_xmlrpc_server) { /* we only try to open the UI if the user didn't asked for a report. */ params.gui_running = ui_init(&argc, &argv); @@ -116,6 +116,8 @@ int main(int argc, char **argv) vendor_init(); if (params.run_xmlrpc_server) { + g_type_init(); + xmlrpc_server_init(); xmlrpc_server_start(); } else if (params.run_benchmark) { |