[gtksourceview] Use gsv style indentation



commit 9823a1dda720fe00a232210a6ea92ed3cb4ba74e
Author: Jesse van den Kieboom <jessevdk gmail com>
Date:   Thu Aug 21 18:17:21 2014 +0200

    Use gsv style indentation

 gtksourceview/gtksourceview-i18n.c |   64 ++++++++++++++++++------------------
 1 files changed, 32 insertions(+), 32 deletions(-)
---
diff --git a/gtksourceview/gtksourceview-i18n.c b/gtksourceview/gtksourceview-i18n.c
index db215b6..cfac90a 100644
--- a/gtksourceview/gtksourceview-i18n.c
+++ b/gtksourceview/gtksourceview-i18n.c
@@ -34,43 +34,43 @@
 static gchar *
 dirs_os_x_get_bundle_resource_dir (void)
 {
-  NSAutoreleasePool *pool;
-  gchar *str = NULL;
-  NSString *path;
-
-  pool = [[NSAutoreleasePool alloc] init];
-  path = [[NSBundle mainBundle] resourcePath];
-
-  if (!path)
-    {
-      [pool release];
-      return NULL;
-    }
-
-  str = g_strdup ([path UTF8String]);
-  [pool release];
-  return str;
+       NSAutoreleasePool *pool;
+       gchar *str = NULL;
+       NSString *path;
+
+       pool = [[NSAutoreleasePool alloc] init];
+       path = [[NSBundle mainBundle] resourcePath];
+
+       if (!path)
+       {
+               [pool release];
+               return NULL;
+       }
+
+       str = g_strdup ([path UTF8String]);
+       [pool release];
+       return str;
 }
 
 static gchar *
 dirs_os_x_get_locale_dir (void)
 {
-  gchar *res_dir;
-  gchar *ret;
-
-  res_dir = dirs_os_x_get_bundle_resource_dir ();
-
-  if (res_dir == NULL)
-    {
-      ret = g_build_filename (DATADIR, "locale", NULL);
-    }
-  else
-    {
-      ret = g_build_filename (res_dir, "share", "locale", NULL);
-      g_free (res_dir);
-    }
-
-  return ret;
+       gchar *res_dir;
+       gchar *ret;
+
+       res_dir = dirs_os_x_get_bundle_resource_dir ();
+
+       if (res_dir == NULL)
+       {
+               ret = g_build_filename (DATADIR, "locale", NULL);
+       }
+       else
+       {
+               ret = g_build_filename (res_dir, "share", "locale", NULL);
+               g_free (res_dir);
+       }
+
+       return ret;
 }
 
 #endif


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