[gnome-builder/wip/libide: 69/237] libide: fix default value for can-go-backward and can-go-forward



commit b43f77bb4a2e31d87f8a25073847d10d4f9a90e3
Author: Christian Hergert <christian hergert me>
Date:   Tue Feb 10 13:31:31 2015 -0800

    libide: fix default value for can-go-backward and can-go-forward

 libide/ide-back-forward-list.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/libide/ide-back-forward-list.c b/libide/ide-back-forward-list.c
index b69fe47..762d74e 100644
--- a/libide/ide-back-forward-list.c
+++ b/libide/ide-back-forward-list.c
@@ -380,7 +380,7 @@ ide_back_forward_list_class_init (IdeBackForwardListClass *klass)
     g_param_spec_boolean ("can-go-backward",
                           _("Can Go Backward"),
                           _("If there are more backward navigation items."),
-                          IDE_TYPE_BACK_FORWARD_ITEM,
+                          FALSE,
                           (G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
   g_object_class_install_property (object_class, PROP_CAN_GO_BACKWARD,
                                    gParamSpecs [PROP_CAN_GO_BACKWARD]);
@@ -389,7 +389,7 @@ ide_back_forward_list_class_init (IdeBackForwardListClass *klass)
     g_param_spec_boolean ("can-go-forward",
                           _("Can Go Forward"),
                           _("If there are more forward navigation items."),
-                          IDE_TYPE_BACK_FORWARD_ITEM,
+                          FALSE,
                           (G_PARAM_READABLE | G_PARAM_STATIC_STRINGS));
   g_object_class_install_property (object_class, PROP_CAN_GO_FORWARD,
                                    gParamSpecs [PROP_CAN_GO_FORWARD]);


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