[gnome-dictionary] gdict: Silence a compiler warning



commit 466408bb0533a86d02d7c070da52efa86d169698
Author: Emmanuele Bassi <ebassi gnome org>
Date:   Mon Feb 23 14:56:58 2015 +0000

    gdict: Silence a compiler warning
    
    NULL is not FALSE.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=745022

 libgdict/gdict-source.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libgdict/gdict-source.c b/libgdict/gdict-source.c
index eb69215..685e301 100644
--- a/libgdict/gdict-source.c
+++ b/libgdict/gdict-source.c
@@ -918,7 +918,7 @@ gdict_source_get_description (GdictSource *source)
 gboolean
 gdict_source_is_editable (GdictSource *source)
 {
-  g_return_val_if_fail (GDICT_IS_SOURCE (source), NULL);
+  g_return_val_if_fail (GDICT_IS_SOURCE (source), FALSE);
 
   return source->priv->editable;
 }


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