From 3722c94e232b39d2a05ef359a60d25ac0cbe7887 Mon Sep 17 00:00:00 2001 From: "Leandro A. F. Pereira" Date: Sun, 15 Oct 2006 21:57:09 +0000 Subject: Make menu shortcuts work, plug memory leaks, socket code cleanup --- hardinfo2/shell.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'hardinfo2/shell.c') 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); -- cgit v1.2.3