aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--trace-view-main.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/trace-view-main.c b/trace-view-main.c
index 1340efd..e04fd05 100644
--- a/trace-view-main.c
+++ b/trace-view-main.c
@@ -98,7 +98,8 @@ delete_event (GtkWidget *widget, GdkEvent *event, gpointer data)
98static void 98static void
99events_clicked (gpointer data) 99events_clicked (gpointer data)
100{ 100{
101 GtkTreeView *trace_tree = data; 101 struct trace_tree_info *info = data;
102 GtkTreeView *trace_tree = GTK_TREE_VIEW(info->trace_tree);
102 GtkTreeModel *model; 103 GtkTreeModel *model;
103 TraceViewStore *store; 104 TraceViewStore *store;
104 gboolean all_events; 105 gboolean all_events;
@@ -124,7 +125,8 @@ events_clicked (gpointer data)
124static void 125static void
125cpus_clicked (gpointer data) 126cpus_clicked (gpointer data)
126{ 127{
127 GtkTreeView *trace_tree = data; 128 struct trace_tree_info *info = data;
129 GtkTreeView *trace_tree = GTK_TREE_VIEW(info->trace_tree);
128 TraceViewStore *store; 130 TraceViewStore *store;
129 gboolean all_cpus; 131 gboolean all_cpus;
130 guint64 *cpu_mask; 132 guint64 *cpu_mask;