diff options
author | Leandro A. F. Pereira <leandro@hardinfo.org> | 2006-12-01 12:01:22 +0000 |
---|---|---|
committer | Leandro A. F. Pereira <leandro@hardinfo.org> | 2006-12-01 12:01:22 +0000 |
commit | 8a9fdae124e2e976c05b190ca83c65e07ca913a4 (patch) | |
tree | aa089323756a5cd6d4b7dc85cbf1f5e87a321dae /hardinfo2/shell.c | |
parent | 542947560c4bc8301917a4ab9e9a1f625da0b1af (diff) |
More and more and more cleanups
Diffstat (limited to 'hardinfo2/shell.c')
-rw-r--r-- | hardinfo2/shell.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/hardinfo2/shell.c b/hardinfo2/shell.c index 096b126a..b93ff05c 100644 --- a/hardinfo2/shell.c +++ b/hardinfo2/shell.c @@ -882,12 +882,6 @@ moreinfo_handle_normal(GKeyFile * key_file, gchar * group, gchar ** keys) } } -static gboolean -g_true(gpointer key, gpointer value, gpointer data) -{ - return TRUE; -} - static void module_selected_show_info(ShellModuleEntry * entry, gboolean reload) { @@ -910,7 +904,7 @@ module_selected_show_info(ShellModuleEntry * entry, gboolean reload) /* recreate the iter hash table only if we're not reloading the module section */ if (!reload) { if (update_tbl != NULL) { - g_hash_table_foreach_remove(update_tbl, g_true, NULL); + g_hash_table_foreach_remove(update_tbl, (GHRFunc) gtk_true, NULL); } update_tbl = g_hash_table_new_full(g_str_hash, g_str_equal, g_free, g_free); } |