diff options
author | Benjamin Otte <otte@redhat.com> | 2010-12-20 17:11:00 +0100 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2010-12-21 12:07:07 -0500 |
commit | 85bd61778f58c50da312cb93a9ead3e98d461072 (patch) | |
tree | 379e509f9725558524f2196a499452b9735943d1 /gdk/gdkdisplay.h | |
parent | 04d1459fca121dc37c9c8ce63d2f36b06ad968d1 (diff) | |
download | gtk+-85bd61778f58c50da312cb93a9ead3e98d461072.tar.gz |
API: gdk: GDK_DISPLAY_OBJECT() => GDK_DISPLAY()
GDK_DISPLAY_OBJECT is now deprecated. No need to keep failures from
gtk1 around.
Diffstat (limited to 'gdk/gdkdisplay.h')
-rw-r--r-- | gdk/gdkdisplay.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/gdk/gdkdisplay.h b/gdk/gdkdisplay.h index 8a4b3e55d1..1445d37a53 100644 --- a/gdk/gdkdisplay.h +++ b/gdk/gdkdisplay.h @@ -35,7 +35,10 @@ G_BEGIN_DECLS #define GDK_TYPE_DISPLAY (gdk_display_get_type ()) -#define GDK_DISPLAY_OBJECT(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), GDK_TYPE_DISPLAY, GdkDisplay)) +#define GDK_DISPLAY(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), GDK_TYPE_DISPLAY, GdkDisplay)) +#ifndef GDK_DISABLE_DEPRECATED +#define GDK_DISPLAY_OBJECT(object) GDK_DISPLAY(object) +#endif #define GDK_DISPLAY_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GDK_TYPE_DISPLAY, GdkDisplayClass)) #define GDK_IS_DISPLAY(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), GDK_TYPE_DISPLAY)) #define GDK_IS_DISPLAY_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GDK_TYPE_DISPLAY)) |