[gnome-builder] auto-indent: match C style from other classes



commit 4690964b8278e02cae66b1543e12045c2c62f4cc
Author: Christian Hergert <christian hergert me>
Date:   Thu Oct 16 23:47:59 2014 -0700

    auto-indent: match C style from other classes

 src/auto-indent/gb-source-auto-indenter-c.c |   30 ++++++++++++++------------
 1 files changed, 16 insertions(+), 14 deletions(-)
---
diff --git a/src/auto-indent/gb-source-auto-indenter-c.c b/src/auto-indent/gb-source-auto-indenter-c.c
index b1dbe36..3787966 100644
--- a/src/auto-indent/gb-source-auto-indenter-c.c
+++ b/src/auto-indent/gb-source-auto-indenter-c.c
@@ -1258,20 +1258,22 @@ static gboolean
 gb_source_auto_indenter_c_is_trigger (GbSourceAutoIndenter *indenter,
                                       GdkEventKey          *event)
 {
-  switch (event->keyval) {
-  case GDK_KEY_KP_Enter:
-  case GDK_KEY_Return:
-  case GDK_KEY_braceleft:
-  case GDK_KEY_braceright:
-  case GDK_KEY_colon:
-  case GDK_KEY_numbersign:
-  case GDK_KEY_parenright:
-  case GDK_KEY_parenleft:
-  case GDK_KEY_slash:
-    return TRUE;
-  default:
-    return FALSE;
-  }
+  switch (event->keyval)
+    {
+    case GDK_KEY_KP_Enter:
+    case GDK_KEY_Return:
+    case GDK_KEY_braceleft:
+    case GDK_KEY_braceright:
+    case GDK_KEY_colon:
+    case GDK_KEY_numbersign:
+    case GDK_KEY_parenright:
+    case GDK_KEY_parenleft:
+    case GDK_KEY_slash:
+      return TRUE;
+
+    default:
+      return FALSE;
+    }
 }
 
 static gchar *


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]