[yelp] [yelp-location-entry] Fixed widget->window for GSEAL



commit 8a5e71e8dde61fe897443ab3dd536954d3556e0f
Author: Shaun McCance <shaunm gnome org>
Date:   Fri May 7 09:27:58 2010 -0500

    [yelp-location-entry] Fixed widget->window for GSEAL

 libyelp/yelp-location-entry.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libyelp/yelp-location-entry.c b/libyelp/yelp-location-entry.c
index d85f3d8..2520257 100644
--- a/libyelp/yelp-location-entry.c
+++ b/libyelp/yelp-location-entry.c
@@ -484,7 +484,7 @@ location_entry_cancel_search (YelpLocationEntry *entry)
     priv->search_mode = FALSE;
     location_entry_set_entry (entry, FALSE);
     event->type = GDK_FOCUS_CHANGE;
-    event->window = GTK_WIDGET (entry)->window;
+    event->window = gtk_widget_get_window (GTK_WIDGET (entry));
     event->send_event = FALSE;
     event->in = FALSE;
     g_signal_emit_by_name (entry, "focus-out-event", 0, event);



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