gdk: Deprecated gdk_set_pointer_hooks()

This commit is contained in:
Benjamin Otte 2011-01-03 18:24:34 +01:00
parent 6f776f0814
commit b225585844
2 changed files with 6 additions and 4 deletions

View File

@ -726,6 +726,8 @@ singlehead_default_window_at_pointer (GdkScreen *screen,
* see gdk_display_set_pointer_hooks().
*
* Return value: the previous pointer hook table
*
* Deprecated: 2.24: This function will go away in GTK 3 for lack of use cases.
**/
GdkPointerHooks *
gdk_set_pointer_hooks (const GdkPointerHooks *new_hooks)

View File

@ -702,10 +702,6 @@ void gdk_window_get_internal_paint_info (GdkWindow *window,
void gdk_window_enable_synchronized_configure (GdkWindow *window);
void gdk_window_configure_finished (GdkWindow *window);
#ifndef GDK_MULTIHEAD_SAFE
GdkPointerHooks *gdk_set_pointer_hooks (const GdkPointerHooks *new_hooks);
#endif /* GDK_MULTIHEAD_SAFE */
GdkWindow *gdk_get_default_root_window (void);
/* Offscreen redirection */
@ -726,6 +722,10 @@ void gdk_window_redirect_to_drawable (GdkWindow *window,
void gdk_window_remove_redirection (GdkWindow *window);
#ifndef GDK_DISABLE_DEPRECATED
#ifndef GDK_MULTIHEAD_SAFE
GdkPointerHooks *gdk_set_pointer_hooks (const GdkPointerHooks *new_hooks);
#endif /* GDK_MULTIHEAD_SAFE */
#define GDK_ROOT_PARENT() (gdk_get_default_root_window ())
#define gdk_window_get_size gdk_drawable_get_size
#define gdk_window_get_type gdk_window_get_window_type