[gtk/key-themes: 1/3] search entry: Quiet a compiler warning



commit f1b8bb2a4f1f7dc70326cf02cd3331b3e415be0f
Author: Matthias Clasen <mclasen redhat com>
Date:   Wed Feb 20 13:10:09 2019 -0500

    search entry: Quiet a compiler warning

 gtk/gtksearchentry.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gtk/gtksearchentry.c b/gtk/gtksearchentry.c
index 6f93dd6b93..01cddb2147 100644
--- a/gtk/gtksearchentry.c
+++ b/gtk/gtksearchentry.c
@@ -707,5 +707,5 @@ gtk_search_entry_get_text_widget (GtkSearchEntry *entry)
 {
   GtkSearchEntryPrivate *priv = gtk_search_entry_get_instance_private (entry);
 
-  return priv->entry;
+  return GTK_TEXT (priv->entry);
 }


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