aboutsummaryrefslogtreecommitdiff
path: root/hardinfo2/shell.c
diff options
context:
space:
mode:
author05356787 <05356787@localhost.localdomain>2008-10-30 09:54:35 -0200
committer05356787 <05356787@localhost.localdomain>2008-10-30 09:54:35 -0200
commit0fa6067111faa2ce69ed8275b06ef8d5ab669a56 (patch)
tree73fccd7cbb5c0db2d42390abae8964ab66ebe621 /hardinfo2/shell.c
parentff03a5d1bf53392f324e4653764b3079bd94c4bf (diff)
Cleanups
Diffstat (limited to 'hardinfo2/shell.c')
-rw-r--r--hardinfo2/shell.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/hardinfo2/shell.c b/hardinfo2/shell.c
index 2a61246b..6d0508c7 100644
--- a/hardinfo2/shell.c
+++ b/hardinfo2/shell.c
@@ -1107,9 +1107,10 @@ module_selected_show_info(ShellModuleEntry * entry, gboolean reload)
store = GTK_TREE_STORE(shell->info->model);
+ gdk_window_freeze_updates(shell->window->window);
+
g_object_ref(shell->info->model);
gtk_tree_view_set_model(GTK_TREE_VIEW(shell->info->view), NULL);
- gdk_window_freeze_updates(shell->window->window);
gtk_tree_store_clear(store);