[totem] grilo: Change retval type for totem_search_entry_get_entry()



commit c0538bf1d7a930fa871df8675d989a65789bef7c
Author: Bastien Nocera <hadess hadess net>
Date:   Wed Jul 3 16:23:19 2013 +0200

    grilo: Change retval type for totem_search_entry_get_entry()

 src/plugins/grilo/totem-search-entry.c |    4 ++--
 src/plugins/grilo/totem-search-entry.h |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/plugins/grilo/totem-search-entry.c b/src/plugins/grilo/totem-search-entry.c
index 75d26cd..8c4793d 100644
--- a/src/plugins/grilo/totem-search-entry.c
+++ b/src/plugins/grilo/totem-search-entry.c
@@ -290,10 +290,10 @@ totem_search_entry_set_selected_id (TotemSearchEntry *self,
                   id, self);
 }
 
-GtkWidget *
+GtkEntry *
 totem_search_entry_get_entry (TotemSearchEntry *self)
 {
        g_return_if_fail (TOTEM_IS_SEARCH_ENTRY (self));
 
-       return self->priv->entry;
+       return GTK_ENTRY (self->priv->entry);
 }
diff --git a/src/plugins/grilo/totem-search-entry.h b/src/plugins/grilo/totem-search-entry.h
index 7b048d0..4e42437 100644
--- a/src/plugins/grilo/totem-search-entry.h
+++ b/src/plugins/grilo/totem-search-entry.h
@@ -69,7 +69,7 @@ const char *totem_search_entry_get_selected_id (TotemSearchEntry *self);
 void        totem_search_entry_set_selected_id (TotemSearchEntry *self,
                                                const char       *id);
 
-GtkWidget  *totem_search_entry_get_entry       (TotemSearchEntry *self);
+GtkEntry   *totem_search_entry_get_entry       (TotemSearchEntry *self);
 
 G_END_DECLS
 


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