[gtk+/gtk-3-10] gdkwindow-x11: Fix compile warning
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-3-10] gdkwindow-x11: Fix compile warning
- Date: Sun, 6 Apr 2014 03:40:56 +0000 (UTC)
commit 971b3a5042ed7551649d991c501fe640ec5affdc
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Fri Jan 31 14:33:27 2014 -0500
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...
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 44e027c..41fe7cf 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 |
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]