[gtk/nbpage: 1/21] search entry: Quiet a compiler warning



commit 2e9c7d074483135898c528412665cedbecc89505
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 e9c56c4e04..246d8126e0 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]