[libchamplain/wrap: 10/14] Fix return value type warning



commit 53fe34ec1c8851c39b9b96d0b3464caecf3b033d
Author: Jiří Techet <techet gmail com>
Date:   Sun Apr 13 01:32:43 2014 +0200

    Fix return value type warning

 champlain/champlain-view.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/champlain/champlain-view.c b/champlain/champlain-view.c
index abed1de..15eb8ad 100644
--- a/champlain/champlain-view.c
+++ b/champlain/champlain-view.c
@@ -2712,7 +2712,7 @@ champlain_view_get_horizontal_wrap (ChamplainView *view)
 {
   DEBUG_LOG ()
 
-  g_return_val_if_fail (CHAMPLAIN_IS_VIEW (view), NULL);
+  g_return_val_if_fail (CHAMPLAIN_IS_VIEW (view), FALSE);
 
   ChamplainViewPrivate *priv = view->priv;
 


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