From fef5cbca0bf128215cf4c4d1a58ac51fbbfb21e2 Mon Sep 17 00:00:00 2001 From: compudj Date: Fri, 16 Sep 2005 00:39:49 +0000 Subject: [PATCH] request background data fix git-svn-id: http://ltt.polymtl.ca/svn@1206 04897980-b3bd-0310-b5e0-8ef037075253 --- ltt/branches/poly/lttv/modules/gui/statistics/statistics.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/ltt/branches/poly/lttv/modules/gui/statistics/statistics.c b/ltt/branches/poly/lttv/modules/gui/statistics/statistics.c index 9f63a9e7..b9b341e9 100644 --- a/ltt/branches/poly/lttv/modules/gui/statistics/statistics.c +++ b/ltt/branches/poly/lttv/modules/gui/statistics/statistics.c @@ -284,8 +284,7 @@ gui_statistic(Tab *tab) lttvwindow_register_traceset_notify(statistic_viewer_data->tab, statistic_traceset_changed, statistic_viewer_data); - request_background_data(statistic_viewer_data); - + statistic_viewer_data->statistic_hash = g_hash_table_new_full(g_str_hash, g_str_equal, statistic_destroy_hash_key, @@ -356,6 +355,8 @@ gui_statistic(Tab *tab) g_statistic_viewer_data_list, statistic_viewer_data); + request_background_data(statistic_viewer_data); + return statistic_viewer_data; } -- 2.34.1