[gtk+/rendering-cleanup: 90/142] gtk: Remove special code for detecting pixmaps as event targets
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/rendering-cleanup: 90/142] gtk: Remove special code for detecting pixmaps as event targets
- Date: Thu, 9 Sep 2010 16:11:51 +0000 (UTC)
commit c7f7fe9a1ef9363a7dc1ce8d374b558db03fd515
Author: Benjamin Otte <otte redhat com>
Date: Fri Aug 27 17:00:14 2010 +0200
gtk: Remove special code for detecting pixmaps as event targets
gtk/gtkwidget.c | 7 -------
1 files changed, 0 insertions(+), 7 deletions(-)
---
diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c
index 56c9cb7..ef49f58 100644
--- a/gtk/gtkwidget.c
+++ b/gtk/gtkwidget.c
@@ -4761,13 +4761,6 @@ gtk_widget_send_expose (GtkWidget *widget,
static gboolean
event_window_is_still_viewable (GdkEvent *event)
{
- /* Some programs, such as gnome-theme-manager, fake widgets
- * into exposing onto a pixmap by sending expose events with
- * event->window pointing to a pixmap
- */
- if (GDK_IS_PIXMAP (event->any.window))
- return event->type == GDK_EXPOSE;
-
/* Check that we think the event's window is viewable before
* delivering the event, to prevent suprises. We do this here
* at the last moment, since the event may have been queued
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]