From: compudj Date: Sat, 29 Apr 2006 13:42:28 +0000 (+0000) Subject: fix check version X-Git-Tag: v0.12.20~1712 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=7a33664143658832b9f1a89c15f4965543271cd5;p=lttv.git fix check version git-svn-id: http://ltt.polymtl.ca/svn@1777 04897980-b3bd-0310-b5e0-8ef037075253 --- 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; }