[gtk+] gdkevents-x11.c: Remove unused function: graphics_expose_predicate()



commit 7f89bf262ba0491be7feeb2babb3eac847074672
Author: Javier Jardón <jjardon gnome org>
Date:   Sat May 22 22:49:58 2010 +0200

    gdkevents-x11.c: Remove unused function: graphics_expose_predicate()

 gdk/x11/gdkevents-x11.c |   13 -------------
 1 files changed, 0 insertions(+), 13 deletions(-)
---
diff --git a/gdk/x11/gdkevents-x11.c b/gdk/x11/gdkevents-x11.c
index d1dbaca..2c06474 100644
--- a/gdk/x11/gdkevents-x11.c
+++ b/gdk/x11/gdkevents-x11.c
@@ -282,19 +282,6 @@ gdk_events_pending (void)
   return FALSE;
 }
 
-static Bool
-graphics_expose_predicate (Display  *display,
-			   XEvent   *xevent,
-			   XPointer  arg)
-{
-  if (xevent->xany.window == GDK_DRAWABLE_XID ((GdkDrawable *)arg) &&
-      (xevent->xany.type == GraphicsExpose ||
-       xevent->xany.type == NoExpose))
-    return True;
-  else
-    return False;
-}
-
 static gint
 gdk_event_apply_filters (XEvent *xevent,
 			 GdkEvent *event,



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]