[libgit2-glib] Code style cleanup



commit 4e6ecf00d5b2bab9fca5ed5ce149edd13263ea8d
Author: Jesse van den Kieboom <jessevdk gmail com>
Date:   Tue Dec 23 17:25:10 2014 +0100

    Code style cleanup

 libgit2-glib/ggit-cred-ssh-interactive.c |    2 +-
 libgit2-glib/ggit-cred-ssh-interactive.h |    4 +++-
 libgit2-glib/ggit-remote.c               |    2 --
 3 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/libgit2-glib/ggit-cred-ssh-interactive.c b/libgit2-glib/ggit-cred-ssh-interactive.c
index 571ece3..e0c14b3 100644
--- a/libgit2-glib/ggit-cred-ssh-interactive.c
+++ b/libgit2-glib/ggit-cred-ssh-interactive.c
@@ -247,7 +247,7 @@ ggit_cred_ssh_interactive_initable_iface_init (GInitableIface *iface)
 
 GgitCredSshInteractive *
 ggit_cred_ssh_interactive_new (const gchar  *username,
-                         GError      **error)
+                               GError      **error)
 {
        return g_initable_new (GGIT_TYPE_CRED_SSH_INTERACTIVE,
                               NULL, error,
diff --git a/libgit2-glib/ggit-cred-ssh-interactive.h b/libgit2-glib/ggit-cred-ssh-interactive.h
index 5399d5b..ed78222 100644
--- a/libgit2-glib/ggit-cred-ssh-interactive.h
+++ b/libgit2-glib/ggit-cred-ssh-interactive.h
@@ -65,7 +65,9 @@ GgitCredSshInteractive *
 
 const gchar  *ggit_cred_ssh_interactive_get_username  (GgitCredSshInteractive  *cred);
 
-GType        ggit_cred_ssh_interactive_prompt_get_type (void) G_GNUC_CONST;
+
+GType         ggit_cred_ssh_interactive_prompt_get_type
+                                               (void) G_GNUC_CONST;
 
 GgitCredSshInteractivePrompt *
               ggit_cred_ssh_interactive_prompt_new
diff --git a/libgit2-glib/ggit-remote.c b/libgit2-glib/ggit-remote.c
index cce9d56..439338d 100644
--- a/libgit2-glib/ggit-remote.c
+++ b/libgit2-glib/ggit-remote.c
@@ -188,10 +188,8 @@ ggit_remote_set_property (GObject      *object,
        switch (prop_id)
        {
                case PROP_CALLBACKS:
-               {
                        ggit_remote_set_callbacks (self, g_value_get_object (value));
                        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]