[totem] grilo: Fix a function error return



commit 0fb4c0ec1f4cf4486ffe5dbc5ba3a4135cc0eae3
Author: Philip Withnall <philip tecnocode co uk>
Date:   Mon Sep 30 13:11:38 2013 +0100

    grilo: Fix a function error return
    
    It wasn’t returning a value in a non-void function.

 src/plugins/grilo/totem-search-entry.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/plugins/grilo/totem-search-entry.c b/src/plugins/grilo/totem-search-entry.c
index 8c4793d..3deea24 100644
--- a/src/plugins/grilo/totem-search-entry.c
+++ b/src/plugins/grilo/totem-search-entry.c
@@ -293,7 +293,7 @@ totem_search_entry_set_selected_id (TotemSearchEntry *self,
 GtkEntry *
 totem_search_entry_get_entry (TotemSearchEntry *self)
 {
-       g_return_if_fail (TOTEM_IS_SEARCH_ENTRY (self));
+       g_return_val_if_fail (TOTEM_IS_SEARCH_ENTRY (self), NULL);
 
        return GTK_ENTRY (self->priv->entry);
 }


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