diff options
author | Frederic Crozat <fcrozat@novell.com> | 2011-02-22 18:45:08 +0100 |
---|---|---|
committer | Frederic Crozat <fcrozat@novell.com> | 2011-03-08 14:14:35 +0100 |
commit | f00802aa346a0274191d17ea6fca46a74b819a72 (patch) | |
tree | 65921096a700479d7626d609493ec24b434805da /libyelp/yelp-storage.c | |
parent | a74b265ae407a30d4dd65c447bbe2bc3ea42095d (diff) | |
download | yelp-f00802aa346a0274191d17ea6fca46a74b819a72.tar.gz |
Fix return values in libyelp functions.
https://bugzilla.gnome.org/show_bug.cgi?id=642977
Diffstat (limited to 'libyelp/yelp-storage.c')
-rw-r--r-- | libyelp/yelp-storage.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libyelp/yelp-storage.c b/libyelp/yelp-storage.c index e901af1d..97a1786b 100644 --- a/libyelp/yelp-storage.c +++ b/libyelp/yelp-storage.c @@ -76,7 +76,7 @@ yelp_storage_search (YelpStorage *storage, { YelpStorageInterface *iface; - g_return_if_fail (YELP_IS_STORAGE (storage)); + g_return_val_if_fail (YELP_IS_STORAGE (storage), NULL); iface = YELP_STORAGE_GET_INTERFACE (storage); @@ -92,7 +92,7 @@ yelp_storage_get_root_title (YelpStorage *storage, { YelpStorageInterface *iface; - g_return_if_fail (YELP_IS_STORAGE (storage)); + g_return_val_if_fail (YELP_IS_STORAGE (storage), NULL); iface = YELP_STORAGE_GET_INTERFACE (storage); |