diff options
author | Benjamin Otte <otte@redhat.com> | 2010-11-22 17:06:46 +0100 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2010-12-02 20:20:56 +0100 |
commit | e724054d19d617107cfc4d9be116b376bfee249d (patch) | |
tree | b50c60ed0ac5952ebf8d6e45255e1f396d5a419d /gdk/x11/gdkx.h | |
parent | 18a6976e5a1e899b62280fbbeb6df9c2c9191bcc (diff) | |
download | gtk+-e724054d19d617107cfc4d9be116b376bfee249d.tar.gz |
API: Remove GDK_WINDOW_XWINDOW() macro
Use GDK_WINDOW_XID() instead.
THis was done using sed, so there might be issues resulting to that.
Feel free to fix.
Diffstat (limited to 'gdk/x11/gdkx.h')
-rw-r--r-- | gdk/x11/gdkx.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gdk/x11/gdkx.h b/gdk/x11/gdkx.h index 0a6178ee24..911f93bf97 100644 --- a/gdk/x11/gdkx.h +++ b/gdk/x11/gdkx.h @@ -118,7 +118,6 @@ gint gdk_x11_get_default_screen (void); */ #define GDK_WINDOW_XDISPLAY(win) (GDK_SCREEN_X11 (GDK_WINDOW_SCREEN (win))->xdisplay) #define GDK_WINDOW_XID(win) (GDK_WINDOW_IMPL_X11(((GdkWindowObject *)win)->impl)->xid) -#define GDK_WINDOW_XWINDOW(win) (GDK_WINDOW_IMPL_X11(((GdkWindowObject *)win)->impl)->xid) #define GDK_SCREEN_XDISPLAY(screen) (GDK_SCREEN_X11 (screen)->xdisplay) @@ -159,11 +158,11 @@ gint gdk_x11_get_default_screen (void); #define GDK_WINDOW_XID(win) (gdk_x11_window_get_xid (win)) /** - * GDK_WINDOW_XWINDOW: + * GDK_WINDOW_XID: * * Another name for GDK_DRAWABLE_XID(). */ -#define GDK_WINDOW_XWINDOW(win) (gdk_x11_window_get_xid (win)) +#define GDK_WINDOW_XID(win) (gdk_x11_window_get_xid (win)) #define GDK_SCREEN_XDISPLAY(screen) (gdk_x11_display_get_xdisplay (gdk_screen_get_display (screen))) #define GDK_SCREEN_XSCREEN(screen) (gdk_x11_screen_get_xscreen (screen)) |