forked from AuroraMiddleware/gtk
Squash strict aliasing warning in _NET_VIRTUAL_ROOTS code.
Wed Jan 19 17:17:31 2005 Manish Singh <yosh@gimp.org> * gdk/x11/gdkwindow-x11.c (gdk_window_get_frame_extents): Squash strict aliasing warning in _NET_VIRTUAL_ROOTS code.
This commit is contained in:
parent
d2b62140cd
commit
85c6f6eb76
@ -1,3 +1,8 @@
|
||||
Wed Jan 19 17:17:31 2005 Manish Singh <yosh@gimp.org>
|
||||
|
||||
* gdk/x11/gdkwindow-x11.c (gdk_window_get_frame_extents): Squash
|
||||
strict aliasing warning in _NET_VIRTUAL_ROOTS code.
|
||||
|
||||
2005-01-19 Tor Lillqvist <tml@novell.com>
|
||||
|
||||
* gdk/win32/gdkkeys-win32.c (update_keymap,
|
||||
|
@ -1,3 +1,8 @@
|
||||
Wed Jan 19 17:17:31 2005 Manish Singh <yosh@gimp.org>
|
||||
|
||||
* gdk/x11/gdkwindow-x11.c (gdk_window_get_frame_extents): Squash
|
||||
strict aliasing warning in _NET_VIRTUAL_ROOTS code.
|
||||
|
||||
2005-01-19 Tor Lillqvist <tml@novell.com>
|
||||
|
||||
* gdk/win32/gdkkeys-win32.c (update_keymap,
|
||||
|
@ -1,3 +1,8 @@
|
||||
Wed Jan 19 17:17:31 2005 Manish Singh <yosh@gimp.org>
|
||||
|
||||
* gdk/x11/gdkwindow-x11.c (gdk_window_get_frame_extents): Squash
|
||||
strict aliasing warning in _NET_VIRTUAL_ROOTS code.
|
||||
|
||||
2005-01-19 Tor Lillqvist <tml@novell.com>
|
||||
|
||||
* gdk/win32/gdkkeys-win32.c (update_keymap,
|
||||
|
@ -3134,6 +3134,7 @@ gdk_window_get_frame_extents (GdkWindow *window,
|
||||
Window xparent;
|
||||
Window root;
|
||||
Window *children;
|
||||
guchar *data;
|
||||
Window *vroots;
|
||||
Atom type_return;
|
||||
unsigned int nchildren;
|
||||
@ -3182,11 +3183,14 @@ gdk_window_get_frame_extents (GdkWindow *window,
|
||||
"_NET_VIRTUAL_ROOTS"),
|
||||
0, 0x7fffffff, False, XA_WINDOW, &type_return,
|
||||
&format_return, &nitems_return, &bytes_after_return,
|
||||
(unsigned char **)(&vroots))
|
||||
&data)
|
||||
== Success)
|
||||
{
|
||||
if ((type_return == XA_WINDOW) && (format_return == 32) && (vroots))
|
||||
nvroots = nitems_return;
|
||||
if ((type_return == XA_WINDOW) && (format_return == 32) && (data))
|
||||
{
|
||||
nvroots = nitems_return;
|
||||
vroots = (Window *)data;
|
||||
}
|
||||
}
|
||||
|
||||
xparent = GDK_WINDOW_XID (window);
|
||||
|
Loading…
Reference in New Issue
Block a user