[gtk+] gtk: Remove special code for detecting pixmaps as event targets



commit b7f2f9a678752921b8fce59b3ac635f06fd798d5
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 883a2d0..d66660a 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]