aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--trace-view.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/trace-view.c b/trace-view.c
index f9083f4..3c023e5 100644
--- a/trace-view.c
+++ b/trace-view.c
@@ -341,8 +341,8 @@ void trace_view_select(GtkWidget *treeview, guint64 time)
341 341
342 selection = gtk_tree_view_get_selection(tree); 342 selection = gtk_tree_view_get_selection(tree);
343 gtk_tree_selection_select_path(selection, path); 343 gtk_tree_selection_select_path(selection, path);
344 gtk_tree_path_free(path);
345 344
346 /* finally, make it visible */ 345 /* finally, make it visible */
347 trace_view_make_selection_visible(treeview); 346 gtk_tree_view_scroll_to_cell(tree, path, NULL, TRUE, 0.5, 0.0);
347 gtk_tree_path_free(path);
348} 348}