[gimp] Bail our from expose() when the event doesn't come from entry->text_area
- From: Michael Natterer <mitch src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gimp] Bail our from expose() when the event doesn't come from entry->text_area
- Date: Sat, 7 Nov 2009 08:37:08 +0000 (UTC)
commit 2651c2517bd48885803810dc9ec224e53afafca5
Author: Michael Natterer <mitch gimp org>
Date: Fri Nov 6 12:04:58 2009 +0100
Bail our from expose() when the event doesn't come from entry->text_area
app/widgets/gimptagentry.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/app/widgets/gimptagentry.c b/app/widgets/gimptagentry.c
index 64661df..0f7cd09 100644
--- a/app/widgets/gimptagentry.c
+++ b/app/widgets/gimptagentry.c
@@ -22,6 +22,8 @@
#include <string.h>
+#undef GSEAL_ENABLE
+
#include <gtk/gtk.h>
#include <gdk/gdkkeysyms.h>
@@ -1206,7 +1208,7 @@ gimp_tag_entry_expose (GtkWidget *widget,
const char *display_text;
/* eeeeeek */
- if (gtk_widget_get_window (widget) == event->window)
+ if (event->window != GTK_ENTRY (widget)->text_area)
return FALSE;
if (! GIMP_TAG_ENTRY (widget)->description_shown)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]