From: compudj Date: Fri, 16 Sep 2005 00:39:49 +0000 (+0000) Subject: request background data fix X-Git-Tag: v0.12.20~2283 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=fef5cbca0bf128215cf4c4d1a58ac51fbbfb21e2;p=lttv.git request background data fix git-svn-id: http://ltt.polymtl.ca/svn@1206 04897980-b3bd-0310-b5e0-8ef037075253 --- 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; }