fix height for older libs
authorcompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Sat, 29 Apr 2006 13:24:28 +0000 (13:24 +0000)
committercompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Sat, 29 Apr 2006 13:24:28 +0000 (13:24 +0000)
git-svn-id: http://ltt.polymtl.ca/svn@1775 04897980-b3bd-0310-b5e0-8ef037075253

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

index c8d98c61bae0b9687ca3d78ea9e71426b1ec9618..89acf83f187987ec40232eca5ed78ab94e945680 100644 (file)
@@ -23,7 +23,7 @@
 AC_PREREQ(2.57)
 AC_INIT(FULL-PACKAGE-NAME, VERSION, BUG-REPORT-ADDRESS)
 #AC_WITH_LTDL  # not needed ?
-AM_INIT_AUTOMAKE(LinuxTraceToolkitViewer,0.8.37-28042006)
+AM_INIT_AUTOMAKE(LinuxTraceToolkitViewer,0.8.38-29042006)
 AM_CONFIG_HEADER(config.h)
 AM_PROG_LIBTOOL
 
index a4465edc26b6706b1c898bbaab23fef8dc14ea38..2dfd3717402987e50252a0f1297cec714a86e368 100644 (file)
@@ -183,13 +183,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;
 }
 
index 63a1bbf88e381a043f08f71b2b540c3056136649..b5af37d0ab24dfb7c37fa11b20321a4df620901a 100644 (file)
@@ -1181,14 +1181,14 @@ 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.025239 seconds and 4 git commands to generate.