Fix embarrassing crash. (#444457, Torsten Schoenfeld)

2007-06-06  Tor Lillqvist  <tml@novell.com>

	* gdk/x11/gdkwindow-x11.c (gdk_window_set_opacity): Fix
	embarrassing crash. (#444457, Torsten Schoenfeld)


svn path=/trunk/; revision=18045
This commit is contained in:
Tor Lillqvist 2007-06-06 00:03:25 +00:00 committed by Tor Lillqvist
parent 7a0ece0429
commit c62db99be2
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2007-06-06 Tor Lillqvist <tml@novell.com>
* gdk/x11/gdkwindow-x11.c (gdk_window_set_opacity): Fix
embarrassing crash. (#444457, Torsten Schoenfeld)
2007-06-05 Yevgen Muntyan <muntyan@tamu.edu>
* demos/gtk-demo/textview.c (insert_text): Drop the phrase

View File

@ -6476,7 +6476,7 @@ gdk_window_set_opacity (GdkWindow *window,
gdk_x11_get_xatom_by_name_for_display (display, "_NET_WM_WINDOW_OPACITY"),
XA_CARDINAL, 32,
PropModeReplace,
(guchar *) cardinal, 1);
(guchar *) &cardinal, 1);
}
void