diff options
author | Matthias Clasen <mclasen@redhat.com> | 2008-07-06 06:05:02 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2008-07-06 06:05:02 +0000 |
commit | 486d65659f747c1d98e9eb6dd07cfae4758d2b9d (patch) | |
tree | 3284ac0671dfd9c57589f93eee5ca828425ce99b /gdk | |
parent | 128585147f697173ba807cb40089f5dad209457b (diff) | |
download | gtk+-486d65659f747c1d98e9eb6dd07cfae4758d2b9d.tar.gz |
Bug 493008 – gdk_screen_get_window_stack is not 64-bit-compatible
2008-07-06 Matthias Clasen <mclasen@redhat.com>
Bug 493008 – gdk_screen_get_window_stack is not 64-bit-compatible
* gdk/x11/gdkscreen-x11.c (gdk_screen_get_window_stack): Fix
64-bit brokenness. Reported by Christian Hammond.
svn path=/trunk/; revision=20788
Diffstat (limited to 'gdk')
-rw-r--r-- | gdk/x11/gdkscreen-x11.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdk/x11/gdkscreen-x11.c b/gdk/x11/gdkscreen-x11.c index 9b06e7deae..624d1901e0 100644 --- a/gdk/x11/gdkscreen-x11.c +++ b/gdk/x11/gdkscreen-x11.c @@ -1205,14 +1205,14 @@ gdk_screen_get_window_stack (GdkScreen *screen) if ((type_return == XA_WINDOW) && (format_return == 32) && (data) && (nitems_return > 0)) { - GdkNativeWindow *stack = (GdkNativeWindow *) data; + gulong *stack = (gulong *) data; GdkWindow *win; int i; for (i = 0; i < nitems_return; i++) { win = gdk_window_foreign_new_for_display (screen_x11->display, - stack[i]); + (GdkNativeWindow)stack[i]); if (win != NULL) ret = g_list_append (ret, win); |