inlining link fix
authorcompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Sat, 14 Aug 2004 21:32:07 +0000 (21:32 +0000)
committercompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Sat, 14 Aug 2004 21:32:07 +0000 (21:32 +0000)
git-svn-id: http://ltt.polymtl.ca/svn@764 04897980-b3bd-0310-b5e0-8ef037075253

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

index f0c8fbdd3f6c07da7ec189145e958e3c3c7852bc..ebb32a30236e73c88f8be3e9570e82df761fa0aa 100644 (file)
@@ -113,6 +113,25 @@ int processlist_remove(ProcessList *process_list, guint pid, guint cpu,
     LttTime *birth, guint trace_num);
 
 
+
+
+
+static inline gint get_cell_height(ProcessList *process_list,
+                                   GtkTreeView *tree_view)
+{
+  gint height = process_list->cell_height_cache;
+  if(height != -1) return height;
+  else {
+    GtkTreeViewColumn *Column = gtk_tree_view_get_column(tree_view, 0);
+  
+    gtk_tree_view_column_cell_get_size(Column, NULL, NULL, NULL, NULL,
+                                       &process_list->cell_height_cache);
+  }
+  return process_list->cell_height_cache;
+}
+
+
+
 static inline guint processlist_get_height(ProcessList *process_list)
 {
   return get_cell_height(process_list,
This page took 0.0244490000000001 seconds and 4 git commands to generate.