[libgit2-glib] repository: minor cleanup



commit 11651652580d132329c92d94fa4974ac0e0abf4a
Author: Ignacio Casal Quinteiro <icq gnome org>
Date:   Tue Mar 19 21:16:03 2013 +0100

    repository: minor cleanup

 libgit2-glib/ggit-repository.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/libgit2-glib/ggit-repository.c b/libgit2-glib/ggit-repository.c
index 74647eb..a0f99f4 100644
--- a/libgit2-glib/ggit-repository.c
+++ b/libgit2-glib/ggit-repository.c
@@ -237,8 +237,6 @@ ggit_repository_class_init (GgitRepositoryClass *klass)
                                                              G_PARAM_CONSTRUCT |
                                                              G_PARAM_STATIC_STRINGS));
 
-       g_type_class_add_private (object_class, sizeof (GgitRepositoryPrivate));
-
        g_object_class_install_property (object_class,
                                         PROP_HEAD,
                                         g_param_spec_object ("head",
@@ -246,6 +244,8 @@ ggit_repository_class_init (GgitRepositoryClass *klass)
                                                              "Head",
                                                              GGIT_TYPE_REF,
                                                              G_PARAM_READABLE));
+
+       g_type_class_add_private (object_class, sizeof (GgitRepositoryPrivate));
 }
 
 static void


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