diff options
author | Javier Jardón <javierjc1982@gmail.com> | 2009-10-08 22:47:52 +0200 |
---|---|---|
committer | Javier Jardón <jjardon@gnome.org> | 2010-05-03 01:48:45 +0200 |
commit | 7894951cee33bb10c7c8bf901827dd2c24abe625 (patch) | |
tree | dbb51e4dbbc3678f95dbddf36227c2daeeddc7e5 /gdk/directfb | |
parent | 8c46ef830b42e701c72264071e78ac93a13774b4 (diff) | |
download | gtk+-7894951cee33bb10c7c8bf901827dd2c24abe625.tar.gz |
Remove deprecated code from GdkEvent
Diffstat (limited to 'gdk/directfb')
-rw-r--r-- | gdk/directfb/gdkevents-directfb.c | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/gdk/directfb/gdkevents-directfb.c b/gdk/directfb/gdkevents-directfb.c index 2dd5000e02..7260547bcb 100644 --- a/gdk/directfb/gdkevents-directfb.c +++ b/gdk/directfb/gdkevents-directfb.c @@ -318,36 +318,6 @@ gdk_events_pending (void) return _gdk_event_queue_find_first (display) ? TRUE : FALSE; } -GdkEvent * -gdk_event_get_graphics_expose (GdkWindow *window) -{ - GdkDisplay *display; - GList *list; - - g_return_val_if_fail (GDK_IS_WINDOW (window), NULL); - - display = gdk_drawable_get_display (GDK_DRAWABLE (window)); - - for (list = _gdk_event_queue_find_first (display); list; list = list->next) - { - GdkEvent *event = list->data; - if (event->type == GDK_EXPOSE && event->expose.window == window) - break; - } - - if (list) - { - GdkEvent *retval = list->data; - - _gdk_event_queue_remove_link (display, list); - g_list_free_1 (list); - - return retval; - } - - return NULL; -} - void _gdk_events_queue (GdkDisplay *display) { |