diff options
author | Matthias Clasen <mclasen@redhat.com> | 2011-10-09 09:55:08 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2011-10-09 09:55:08 -0400 |
commit | a35d8764da6d3a1b3118e2ec2e7816395f95d2d2 (patch) | |
tree | 604497818c02cf9651849cce1671b3d35dc71f9c /gdk/gdkmain.h | |
parent | 6dc34c1f5e744e52fccc23610923d12b492a3c91 (diff) | |
download | gtk+-a35d8764da6d3a1b3118e2ec2e7816395f95d2d2.tar.gz |
Add G_GNUC_DEPRECATED annotations in GDK
Diffstat (limited to 'gdk/gdkmain.h')
-rw-r--r-- | gdk/gdkmain.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/gdk/gdkmain.h b/gdk/gdkmain.h index 411b58f325..c71d09e437 100644 --- a/gdk/gdkmain.h +++ b/gdk/gdkmain.h @@ -80,14 +80,14 @@ gchar* gdk_get_display (void); #ifndef GDK_MULTIDEVICE_SAFE #ifndef GDK_DISABLE_DEPRECATED GdkGrabStatus gdk_pointer_grab (GdkWindow *window, - gboolean owner_events, - GdkEventMask event_mask, - GdkWindow *confine_to, - GdkCursor *cursor, - guint32 time_); + gboolean owner_events, + GdkEventMask event_mask, + GdkWindow *confine_to, + GdkCursor *cursor, + guint32 time_) G_GNUC_DEPRECATED_FOR(gdk_device_grab); GdkGrabStatus gdk_keyboard_grab (GdkWindow *window, - gboolean owner_events, - guint32 time_); + gboolean owner_events, + guint32 time_) G_GNUC_DEPRECATED_FOR(gdk_device_grab); #endif /* GDK_DISABLE_DEPRECATED */ #endif /* GDK_MULTIDEVICE_SAFE */ @@ -95,9 +95,9 @@ GdkGrabStatus gdk_keyboard_grab (GdkWindow *window, #ifndef GDK_MULTIDEVICE_SAFE #ifndef GDK_DISABLE_DEPRECATED -void gdk_pointer_ungrab (guint32 time_); -void gdk_keyboard_ungrab (guint32 time_); -gboolean gdk_pointer_is_grabbed (void); +void gdk_pointer_ungrab (guint32 time_) G_GNUC_DEPRECATED_FOR(gdk_device_ungrab); +void gdk_keyboard_ungrab (guint32 time_) G_GNUC_DEPRECATED_FOR(gdk_device_ungrab); +gboolean gdk_pointer_is_grabbed (void) G_GNUC_DEPRECATED_FOR(gdk_display_device_is_grabbed); #endif /* GDK_DISABLE_DEPRECATED */ #endif /* GDK_MULTIDEVICE_SAFE */ |