fix check version
authorcompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Sat, 29 Apr 2006 13:42:28 +0000 (13:42 +0000)
committercompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Sat, 29 Apr 2006 13:42:28 +0000 (13:42 +0000)
git-svn-id: http://ltt.polymtl.ca/svn@1777 04897980-b3bd-0310-b5e0-8ef037075253

ltt/branches/poly/lttv/modules/gui/controlflow/processlist.c
ltt/branches/poly/lttv/modules/gui/controlflow/processlist.h
ltt/branches/poly/lttv/modules/gui/detailedevents/events.c

index 6edb0c2c4390ff956ccd28e19fc49bf7fa39ab2e..b337038508aee49261c15194c77e8cfec63eb9d2 100644 (file)
@@ -403,10 +403,10 @@ ProcessList *processlist_construct(void)
       NULL,
       &process_list->cell_height);
        
-  guint ypad;
-  g_object_get(G_OBJECT(renderer), "ypad", &ypad, NULL);
+  //guint ypad;
+  //g_object_get(G_OBJECT(renderer), "ypad", &ypad, NULL);
 
-  process_list->cell_height += ypad;
+  //process_list->cell_height += ypad;
   process_list->cell_height += vertical_separator;
        
 
index 0dfd2ddffd8c6f4731c71b5227060b8ebfa9b51c..e6c05bd44d9f8710dd69b892edd29ff6ac219d14 100644 (file)
@@ -183,13 +183,12 @@ static inline gint get_cell_height(GtkTreeView *TreeView)
   
   gtk_tree_view_column_cell_get_size(column, NULL, NULL, NULL, NULL, &height);
 
-#if GTK_CHECK_VERSION(2,4,15)
   gint vertical_separator;
   gtk_widget_style_get (GTK_WIDGET (TreeView),
       "vertical-separator", &vertical_separator,
       NULL);
   height += vertical_separator;
-#endif
+
   return height;
 }
 
index 1fb23919b138738f1a4f49221682b4f4c739105c..b2390468ea950b531b708395f237a632160206e5 100644 (file)
@@ -1181,14 +1181,13 @@ static __inline gint get_cell_height(GtkTreeView *TreeView)
   
   gtk_tree_view_column_cell_get_size(column, NULL, NULL, NULL, NULL, &height);
   
-#if GTK_CHECK_VERSION(2,4,15)
   gint vertical_separator;
   gtk_widget_style_get (GTK_WIDGET (TreeView),
       "vertical-separator", &vertical_separator,
       NULL);
        
        height += vertical_separator;
-#endif
+
   return height;
 }
 
This page took 0.025708 seconds and 4 git commands to generate.