From e10d97907bd75b12c2f56b246647ffe4ea6f7e62 Mon Sep 17 00:00:00 2001 From: compudj Date: Thu, 22 May 2008 21:47:07 +0000 Subject: [PATCH] fix tree git-svn-id: http://ltt.polymtl.ca/svn@2912 04897980-b3bd-0310-b5e0-8ef037075253 --- .../poly/lttv/modules/gui/controlflow/processlist.c | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/ltt/branches/poly/lttv/modules/gui/controlflow/processlist.c b/ltt/branches/poly/lttv/modules/gui/controlflow/processlist.c index 955b07aa..e49b74ac 100644 --- a/ltt/branches/poly/lttv/modules/gui/controlflow/processlist.c +++ b/ltt/branches/poly/lttv/modules/gui/controlflow/processlist.c @@ -401,8 +401,10 @@ ProcessList *processlist_construct(void) process_list->renderer = renderer; gint vertical_separator; + gint tree_line_width; gtk_widget_style_get (GTK_WIDGET (process_list->process_list_widget), "vertical-separator", &vertical_separator, + "tree-line-width", &tree_line_width, NULL); gtk_cell_renderer_get_size(renderer, GTK_WIDGET(process_list->process_list_widget), @@ -412,14 +414,8 @@ ProcessList *processlist_construct(void) NULL, &process_list->cell_height); -#if GTK_CHECK_VERSION(2,4,15) - guint ypad; - g_object_get(G_OBJECT(renderer), "ypad", &ypad, NULL); - - process_list->cell_height += ypad; -#endif process_list->cell_height += vertical_separator; - + process_list->cell_height += tree_line_width; column = gtk_tree_view_column_new_with_attributes ( "Process", renderer, -- 2.34.1