From ef26868bdf452a244eb05c7726dbcb9bd88a7a01 Mon Sep 17 00:00:00 2001 From: Neil Hodgson Date: Sat, 30 Apr 2016 14:03:28 +1000 Subject: Move function braces for consistency. --- gtk/PlatGTK.cxx | 6 ++---- 1 file 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)); } -- cgit v1.2.3