[libgit2-glib] submodule_update_options: fetch-options is a boxed



commit a03a69dcb657cb8c9283820d5e047219802d86cf
Author: Ignacio Casal Quinteiro <icq gnome org>
Date:   Sat Jul 25 23:09:11 2015 +0200

    submodule_update_options: fetch-options is a boxed

 libgit2-glib/ggit-submodule-update-options.c |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/libgit2-glib/ggit-submodule-update-options.c b/libgit2-glib/ggit-submodule-update-options.c
index 4229589..3b092b1 100644
--- a/libgit2-glib/ggit-submodule-update-options.c
+++ b/libgit2-glib/ggit-submodule-update-options.c
@@ -138,12 +138,12 @@ ggit_submodule_update_options_class_init (GgitSubmoduleUpdateOptionsClass *klass
 
        g_object_class_install_property (object_class,
                                         PROP_FETCH_OPTIONS,
-                                        g_param_spec_object ("fetch-options",
-                                                             "Fetch options",
-                                                             "Fetch options",
-                                                             GGIT_TYPE_FETCH_OPTIONS,
-                                                             G_PARAM_READWRITE |
-                                                             G_PARAM_STATIC_STRINGS));
+                                        g_param_spec_boxed ("fetch-options",
+                                                            "Fetch options",
+                                                            "Fetch options",
+                                                            GGIT_TYPE_FETCH_OPTIONS,
+                                                            G_PARAM_READWRITE |
+                                                            G_PARAM_STATIC_STRINGS));
 
        g_object_class_install_property (object_class,
                                         PROP_CLONE_CHECKOUT_STRATEGY,


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