fix tree
authorcompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Thu, 22 May 2008 21:47:07 +0000 (21:47 +0000)
committercompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Thu, 22 May 2008 21:47:07 +0000 (21:47 +0000)
git-svn-id: http://ltt.polymtl.ca/svn@2912 04897980-b3bd-0310-b5e0-8ef037075253

ltt/branches/poly/lttv/modules/gui/controlflow/processlist.c

index 955b07aaec9eacdf9b381980b7a231fadb981a98..e49b74ac3f3a3caddb18946e0fbf5a10b5f5796d 100644 (file)
@@ -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,
This page took 0.026218 seconds and 4 git commands to generate.