[libdazzle] suggestion: fix return value



commit 4e22566afcc78f9da0969479a0196f057d992387
Author: Christian Hergert <chergert redhat com>
Date:   Thu Aug 9 13:21:22 2018 -0700

    suggestion: fix return value

 src/suggestions/dzl-suggestion-entry-buffer.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/suggestions/dzl-suggestion-entry-buffer.c b/src/suggestions/dzl-suggestion-entry-buffer.c
index 3a56911..155ee64 100644
--- a/src/suggestions/dzl-suggestion-entry-buffer.c
+++ b/src/suggestions/dzl-suggestion-entry-buffer.c
@@ -415,7 +415,7 @@ dzl_suggestion_entry_buffer_clear (DzlSuggestionEntryBuffer *self)
 {
   DzlSuggestionEntryBufferPrivate *priv = dzl_suggestion_entry_buffer_get_instance_private (self);
 
-  g_return_val_if_fail (DZL_IS_SUGGESTION_ENTRY_BUFFER (self), NULL);
+  g_return_if_fail (DZL_IS_SUGGESTION_ENTRY_BUFFER (self));
 
   g_clear_pointer (&priv->text, g_free);
   g_clear_pointer (&priv->suffix, g_free);


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