[gnome-photos] overview-searchbar: Silence a compiler warning



commit e05816bb82f7d8b73fb65c1adc475bd9c5f64280
Author: Debarshi Ray <debarshir gnome org>
Date:   Sat Mar 15 23:27:16 2014 +0100

    overview-searchbar: Silence a compiler warning
    
    Fallout from 4742182024826482e77c4a50215496488a2090c9
    
    Fixes: https://bugzilla.gnome.org/726165

 src/photos-overview-searchbar.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/photos-overview-searchbar.c b/src/photos-overview-searchbar.c
index 882b3ac..579cc4e 100644
--- a/src/photos-overview-searchbar.c
+++ b/src/photos-overview-searchbar.c
@@ -88,7 +88,7 @@ photos_overview_searchbar_active_changed (PhotosOverviewSearchbar *self,
 
   event_device = gtk_get_current_event_device ();
   if (event_device != NULL)
-    gd_entry_focus_hack (priv->search_entry, event_device);
+    gd_entry_focus_hack (GTK_WIDGET (priv->search_entry), event_device);
 
   g_free (name);
 }


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