[PATCH 01/14] Fix missing return value.



---
 libyelp/yelp-bookmarks.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libyelp/yelp-bookmarks.c b/libyelp/yelp-bookmarks.c
index 670650d..a8aeab1 100644
--- a/libyelp/yelp-bookmarks.c
+++ b/libyelp/yelp-bookmarks.c
@@ -83,7 +83,7 @@ yelp_bookmarks_is_bookmarked (YelpBookmarks *bookmarks,
 {
     YelpBookmarksInterface *iface;
 
-    g_return_if_fail (YELP_IS_BOOKMARKS (bookmarks));
+    g_return_val_if_fail (YELP_IS_BOOKMARKS (bookmarks), FALSE);
 
     iface = YELP_BOOKMARKS_GET_INTERFACE (bookmarks);
 
-- 
1.7.2.3




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