[yelp] Fix returns in info_request_page ()



commit 26e6eebfbe6ca024ad43610d903f232e0706c4b2
Author: Rupert Swarbrick <rswarbrick gmail com>
Date:   Wed Sep 15 11:00:44 2010 +0100

    Fix returns in info_request_page ()
    
    Return TRUE if we succeed. Before we were returning no value (and the
    function is declared as having type gboolean).

 libyelp/yelp-info-document.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/libyelp/yelp-info-document.c b/libyelp/yelp-info-document.c
index 5fb609d..acfb33f 100644
--- a/libyelp/yelp-info-document.c
+++ b/libyelp/yelp-info-document.c
@@ -211,7 +211,7 @@ info_request_page (YelpDocument         *document,
                                                                              callback,
                                                                              user_data);
     if (handled) {
-        return;
+        return TRUE;
     }
 
     g_mutex_lock (priv->mutex);
@@ -241,6 +241,7 @@ info_request_page (YelpDocument         *document,
     }
 
     g_mutex_unlock (priv->mutex);
+    return TRUE;
 }
 
 



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