[gtk/child-properties-be-gone: 2/10] file chooser: Fix some compiler warnings



commit 2d2678fd9efc9b955f9f843c4f1dddf7c05a8a90
Author: Matthias Clasen <mclasen redhat com>
Date:   Fri Apr 5 03:34:42 2019 +0000

    file chooser: Fix some compiler warnings

 gtk/gtkfilechooserwidget.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkfilechooserwidget.c b/gtk/gtkfilechooserwidget.c
index 988df4ba31..1e0e2c6677 100644
--- a/gtk/gtkfilechooserwidget.c
+++ b/gtk/gtkfilechooserwidget.c
@@ -53,7 +53,7 @@
 #include "gtkplacesviewprivate.h"
 #include "gtkprivate.h"
 #include "gtkrecentmanager.h"
-#include "gtksearchentry.h"
+#include "gtksearchentryprivate.h"
 #include "gtkseparatormenuitem.h"
 #include "gtksettings.h"
 #include "gtksizegroup.h"
@@ -1379,7 +1379,7 @@ key_press_cb (GtkEventControllerKey *controller,
       priv->operation_mode == OPERATION_MODE_SEARCH)
     {
       return gtk_event_controller_key_forward (controller,
-                                               gtk_search_entry_get_text_widget (GTK_SEARCH_ENTRY 
(priv->search_entry)));
+                                               GTK_WIDGET (gtk_search_entry_get_text_widget 
(GTK_SEARCH_ENTRY (priv->search_entry))));
     }
 
   return GDK_EVENT_PROPAGATE;


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