From fe5f64ecbc5e4072ee0e9ce7817e7886204c840e Mon Sep 17 00:00:00 2001 From: Richard Hult Date: Sun, 18 Feb 2007 10:56:13 +0000 Subject: [PATCH] Add stub for gdk_display_add_client_message_filter, patch from Taybin 2007-02-18 Richard Hult * gdk/quartz/gdkevents-quartz.c: Add stub for gdk_display_add_client_message_filter, patch from Taybin Rutkin. Fixes bug #405870. * gdk/quartz/gdkprivate-quartz.h: Add prototypes to fix build warnings. svn path=/trunk/; revision=17324 --- ChangeLog | 8 ++++++++ gdk/quartz/gdkevents-quartz.c | 17 +++++++++++++++++ gdk/quartz/gdkprivate-quartz.h | 3 +++ 3 files changed, 28 insertions(+) diff --git a/ChangeLog b/ChangeLog index c9c85bb894..fd151072e0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2007-02-18 Richard Hult + + * gdk/quartz/gdkevents-quartz.c: Add stub for + gdk_display_add_client_message_filter, patch from Taybin Rutkin. Fixes + bug #405870. + + * gdk/quartz/gdkprivate-quartz.h: Add prototypes to fix build warnings. + 2007-02-18 Richard Hult * gdk/quartz/GdkQuartzView.h: diff --git a/gdk/quartz/gdkevents-quartz.c b/gdk/quartz/gdkevents-quartz.c index 40fb39b03e..8fcae5956b 100644 --- a/gdk/quartz/gdkevents-quartz.c +++ b/gdk/quartz/gdkevents-quartz.c @@ -1320,6 +1320,23 @@ gdk_flush (void) /* Not supported. */ } +void +gdk_display_add_client_message_filter (GdkDisplay *display, + GdkAtom message_type, + GdkFilterFunc func, + gpointer data) +{ + /* Not supported. */ +} + +void +gdk_add_client_message_filter (GdkAtom message_type, + GdkFilterFunc func, + gpointer data) +{ + /* Not supported. */ +} + void gdk_display_sync (GdkDisplay *display) { diff --git a/gdk/quartz/gdkprivate-quartz.h b/gdk/quartz/gdkprivate-quartz.h index d64bf49161..3e618f2683 100644 --- a/gdk/quartz/gdkprivate-quartz.h +++ b/gdk/quartz/gdkprivate-quartz.h @@ -164,4 +164,7 @@ extern GdkWindow *_gdk_quartz_pointer_grab_window; NSImage *_gdk_quartz_pixbuf_to_ns_image (GdkPixbuf *pixbuf); +NSEvent *_gdk_quartz_event_loop_get_current (void); +void _gdk_quartz_event_loop_release_current (void); + #endif /* __GDK_PRIVATE_QUARTZ_H__ */