[gtk+/rendering-cleanup: 91/142] gtk: Remove special code for detecting pixmaps as event targets



commit 41c56816331aa3372b64beacbe5cf54e4f88102f
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 360b931..c77dc06 100644
--- a/gtk/gtkwidget.c
+++ b/gtk/gtkwidget.c
@@ -5117,13 +5117,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]