diff options
author | Leandro A. F. Pereira <leandro@hardinfo.org> | 2006-10-15 21:57:09 +0000 |
---|---|---|
committer | Leandro A. F. Pereira <leandro@hardinfo.org> | 2006-10-15 21:57:09 +0000 |
commit | 3722c94e232b39d2a05ef359a60d25ac0cbe7887 (patch) | |
tree | 3212d41dd2db5e96fe09587a80f6606e9fb69317 /hardinfo2/shell.c | |
parent | 9949aa0b97e44d67713eed79859028c5ba92b1a3 (diff) |
Make menu shortcuts work, plug memory leaks, socket code cleanup
Diffstat (limited to 'hardinfo2/shell.c')
-rw-r--r-- | hardinfo2/shell.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/hardinfo2/shell.c b/hardinfo2/shell.c index 8f051241..1990d0dc 100644 --- a/hardinfo2/shell.c +++ b/hardinfo2/shell.c @@ -305,8 +305,7 @@ shell_tree_modules_load(ShellTree * shelltree) keyfile = g_key_file_new(); - modules_conf = g_strdup_printf("%s/hardinfo/modules.conf", - gbr_find_data_dir(PREFIX)); + modules_conf = g_strdup_printf("%s/hardinfo/modules.conf", path_data); g_key_file_load_from_file(keyfile, modules_conf, 0, NULL); g_free(modules_conf); @@ -328,8 +327,7 @@ shell_tree_modules_load(ShellTree * shelltree) g_free(tmp); tmp = g_strdup_printf("%s/hardinfo/modules/%s.so", - gbr_find_lib_dir(PREFIX), - iname); + path_lib, iname); module->dll = g_module_open(tmp, G_MODULE_BIND_LAZY); g_free(tmp); |