diff options
-rw-r--r-- | gtk/PlatGTK.cxx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/gtk/PlatGTK.cxx b/gtk/PlatGTK.cxx index 1b7f8c3bd..700e88164 100644 --- a/gtk/PlatGTK.cxx +++ b/gtk/PlatGTK.cxx @@ -1263,8 +1263,7 @@ ListBox *ListBox::Allocate() { return lb; } -static int treeViewGetRowHeight(GtkTreeView *view) -{ +static int treeViewGetRowHeight(GtkTreeView *view) { #if GTK_CHECK_VERSION(3,0,0) // This version sometimes reports erroneous results on GTK2, but the GTK2 // version is inaccurate for GTK 3.14. @@ -1521,8 +1520,7 @@ int ListBoxX::GetVisibleRows() const { return desiredVisibleRows; } -int ListBoxX::GetRowHeight() -{ +int ListBoxX::GetRowHeight() { return treeViewGetRowHeight(GTK_TREE_VIEW(list)); } |