[gnome-builder/wip/libide] libide: fix postcondition check



commit 54d902d16adf0693f6685c227e971d7b84d5282a
Author: Christian Hergert <christian hergert me>
Date:   Sun Mar 15 16:25:48 2015 -0700

    libide: fix postcondition check
    
    This is no longer the case since we can chain the item.

 libide/ide-back-forward-list.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/libide/ide-back-forward-list.c b/libide/ide-back-forward-list.c
index 76b6a65..f4aa566 100644
--- a/libide/ide-back-forward-list.c
+++ b/libide/ide-back-forward-list.c
@@ -192,7 +192,6 @@ ide_back_forward_list_push (IdeBackForwardList *self,
   g_object_notify_by_pspec (G_OBJECT (self), gParamSpecs [PROP_CAN_GO_FORWARD]);
 
   g_return_if_fail (self->forward->length == 0);
-  g_return_if_fail (self->backward->length > 0);
 }
 
 /**


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