[gnome-builder] libide: fix postcondition check
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] libide: fix postcondition check
- Date: Tue, 24 Mar 2015 00:20:51 +0000 (UTC)
commit b7aba1b612b0ed0224092adaa18cbdf6bbe870d2
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]