diff options
author | Jasper St. Pierre <jstpierre@mecheye.net> | 2014-01-31 14:33:27 -0500 |
---|---|---|
committer | Jasper St. Pierre <jstpierre@mecheye.net> | 2014-01-31 14:34:13 -0500 |
commit | 78169aa19201c4900888a0f9765ae7e567467989 (patch) | |
tree | 0dc50c33b1a99ac52b383018353a522a5caa071d /gdk | |
parent | 533a1306cf9a6355dc693ee54707ca50a05798bf (diff) | |
download | gtk+-78169aa19201c4900888a0f9765ae7e567467989.tar.gz |
gdkwindow-x11: Fix compile warning
It doesn't actually matter, since we don't pass any real attributes
anyway, but this should be the correct type...
Diffstat (limited to 'gdk')
-rw-r--r-- | gdk/x11/gdkwindow-x11.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdk/x11/gdkwindow-x11.c b/gdk/x11/gdkwindow-x11.c index c8f04a6fa9..3f213aa11c 100644 --- a/gdk/x11/gdkwindow-x11.c +++ b/gdk/x11/gdkwindow-x11.c @@ -820,7 +820,7 @@ create_focus_window (GdkDisplay *display, GdkEventMask event_mask; Display *xdisplay; Window focus_window; - XWindowAttributes xwa; + XSetWindowAttributes attrs; xdisplay = GDK_DISPLAY_XDISPLAY (display); display_x11 = GDK_X11_DISPLAY (display); @@ -830,7 +830,7 @@ create_focus_window (GdkDisplay *display, 0, /* depth */ InputOnly, CopyFromParent, - 0, &xwa); + 0, &attrs); event_mask = (GDK_KEY_PRESS_MASK | GDK_KEY_RELEASE_MASK | |