[gtk+/rendering-cleanup: 91/144] 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: 91/144] gtk: Remove special code for detecting pixmaps as event targets
- Date: Thu, 23 Sep 2010 21:25:01 +0000 (UTC)
commit 0594027df31054743c4f6790caac02d4dbbdc3c6
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 15283bd..086a374 100644
--- a/gtk/gtkwidget.c
+++ b/gtk/gtkwidget.c
@@ -5121,13 +5121,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]