[libgit2-glib] Fix switch code style



commit c22597ae09b3bbf007b6feff288a6d5861fb5e7c
Author: Jesse van den Kieboom <jessevdk gmail com>
Date:   Fri Dec 27 23:20:49 2013 +0100

    Fix switch code style

 libgit2-glib/ggit-diff.c |   22 +++++++++++-----------
 1 files changed, 11 insertions(+), 11 deletions(-)
---
diff --git a/libgit2-glib/ggit-diff.c b/libgit2-glib/ggit-diff.c
index 143068c..d3c2fda 100644
--- a/libgit2-glib/ggit-diff.c
+++ b/libgit2-glib/ggit-diff.c
@@ -189,12 +189,12 @@ ggit_diff_set_property (GObject      *object,
 
        switch (prop_id)
        {
-       case PROP_REPOSITORY:
-               self->priv->repository = g_value_dup_object (value);
-               break;
-       default:
+               case PROP_REPOSITORY:
+                       self->priv->repository = g_value_dup_object (value);
+                       break;
+               default:
                        G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
-               break;
+                       break;
        }
 }
 
@@ -208,12 +208,12 @@ ggit_diff_get_property (GObject    *object,
 
        switch (prop_id)
        {
-       case PROP_REPOSITORY:
-               g_value_set_object (value, self->priv->repository);
-               break;
-       default:
-               G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
-               break;
+               case PROP_REPOSITORY:
+                       g_value_set_object (value, self->priv->repository);
+                       break;
+               default:
+                       G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
+                       break;
        }
 }
 


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