[almanah] Fixed the return in a void function



commit 421e86691b012461b3530a1b33faabf7287a33a4
Author: Álvaro Peña <alvaropg visual-tools com>
Date:   Mon Apr 21 12:24:08 2014 +0200

    Fixed the return in a void function
    
    Thanks to Arthur Marble <arthur info9 net>
    https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=745257

 src/widgets/tag.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/widgets/tag.c b/src/widgets/tag.c
index 6a03de8..2c0827c 100644
--- a/src/widgets/tag.c
+++ b/src/widgets/tag.c
@@ -439,7 +439,7 @@ almanah_tag_get_tag (AlmanahTag *tag_widget)
 void
 almanah_tag_remove (AlmanahTag *tag_widget)
 {
-       g_return_val_if_fail (ALMANAH_IS_TAG (tag_widget), NULL);
+       g_return_if_fail (ALMANAH_IS_TAG (tag_widget));
 
        g_signal_emit (tag_widget, tag_signals[SIGNAL_REMOVE], 0);
 }


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