[totem] grilo: Add accessor for TotemSearchEntry's GtkEntry
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [totem] grilo: Add accessor for TotemSearchEntry's GtkEntry
- Date: Wed, 3 Jul 2013 13:54:05 +0000 (UTC)
commit d0cf4eba2c8e7467c1bce570bc54fcaf250b3f0d
Author: Bastien Nocera <hadess hadess net>
Date: Wed May 22 17:49:12 2013 +0200
grilo: Add accessor for TotemSearchEntry's GtkEntry
src/plugins/grilo/totem-search-entry.c | 8 ++++++++
src/plugins/grilo/totem-search-entry.h | 2 ++
2 files changed, 10 insertions(+), 0 deletions(-)
---
diff --git a/src/plugins/grilo/totem-search-entry.c b/src/plugins/grilo/totem-search-entry.c
index b737b22..75d26cd 100644
--- a/src/plugins/grilo/totem-search-entry.c
+++ b/src/plugins/grilo/totem-search-entry.c
@@ -289,3 +289,11 @@ totem_search_entry_set_selected_id (TotemSearchEntry *self,
g_warning ("Could not find ID '%s' in TotemSearchEntry %p",
id, self);
}
+
+GtkWidget *
+totem_search_entry_get_entry (TotemSearchEntry *self)
+{
+ g_return_if_fail (TOTEM_IS_SEARCH_ENTRY (self));
+
+ return self->priv->entry;
+}
diff --git a/src/plugins/grilo/totem-search-entry.h b/src/plugins/grilo/totem-search-entry.h
index 2490cbc..7b048d0 100644
--- a/src/plugins/grilo/totem-search-entry.h
+++ b/src/plugins/grilo/totem-search-entry.h
@@ -69,6 +69,8 @@ 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);
+
G_END_DECLS
#endif /* __TOTEM_SEARCH_ENTRY_H__ */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]