From 7a33664143658832b9f1a89c15f4965543271cd5 Mon Sep 17 00:00:00 2001 From: compudj Date: Sat, 29 Apr 2006 13:42:28 +0000 Subject: [PATCH] fix check version git-svn-id: http://ltt.polymtl.ca/svn@1777 04897980-b3bd-0310-b5e0-8ef037075253 --- .../poly/lttv/modules/gui/controlflow/processlist.c | 6 +++--- .../poly/lttv/modules/gui/controlflow/processlist.h | 3 +-- ltt/branches/poly/lttv/modules/gui/detailedevents/events.c | 3 +-- 3 files changed, 5 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 6edb0c2c..b3370385 100644 --- a/ltt/branches/poly/lttv/modules/gui/controlflow/processlist.c +++ b/ltt/branches/poly/lttv/modules/gui/controlflow/processlist.c @@ -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; diff --git a/ltt/branches/poly/lttv/modules/gui/controlflow/processlist.h b/ltt/branches/poly/lttv/modules/gui/controlflow/processlist.h index 0dfd2ddf..e6c05bd4 100644 --- a/ltt/branches/poly/lttv/modules/gui/controlflow/processlist.h +++ b/ltt/branches/poly/lttv/modules/gui/controlflow/processlist.h @@ -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; } diff --git a/ltt/branches/poly/lttv/modules/gui/detailedevents/events.c b/ltt/branches/poly/lttv/modules/gui/detailedevents/events.c index 1fb23919..b2390468 100644 --- a/ltt/branches/poly/lttv/modules/gui/detailedevents/events.c +++ b/ltt/branches/poly/lttv/modules/gui/detailedevents/events.c @@ -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; } -- 2.34.1