|
|
{ | { |
GtkTreeView *tv = GTK_TREE_VIEW (view->priv->tree); | GtkTreeView *tv = GTK_TREE_VIEW (view->priv->tree); |
GtkWidget *gantt = view->priv->gantt; | GtkWidget *gantt = view->priv->gantt; |
gint row_height; |
gint row_height, separator_height; |
gint header_height; | gint header_height; |
gint height; | gint height; |
GList *cols, *l; | GList *cols, *l; |
|
|
cols = gtk_tree_view_get_columns (tv); | cols = gtk_tree_view_get_columns (tv); |
row_height = 0; | row_height = 0; |
header_height = 0; | header_height = 0; |
|
gtk_widget_style_get(GTK_WIDGET(tv), |
|
"vertical-separator", &separator_height, |
|
NULL); |
|
|
for (l = cols; l; l = l->next) { | for (l = cols; l; l = l->next) { |
col = l->data; | col = l->data; |
| |
|
|
NULL, | NULL, |
NULL, | NULL, |
&height); | &height); |
|
height += separator_height; |
row_height = MAX (row_height, height); | row_height = MAX (row_height, height); |
} | } |
| |