aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorNeil Hodgson <unknown>2016-04-30 14:03:28 +1000
committerNeil Hodgson <unknown>2016-04-30 14:03:28 +1000
commitef26868bdf452a244eb05c7726dbcb9bd88a7a01 (patch)
tree70f1dc604dbf76576cbf8974affc09f3eaa64b3f
parent047e8f1f79ff4393f839dcfb4e9a6334a99e2e26 (diff)
downloadscintilla-mirror-ef26868bdf452a244eb05c7726dbcb9bd88a7a01.tar.gz
Move function braces for consistency.
-rw-r--r--gtk/PlatGTK.cxx6
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));
}