forked from AuroraMiddleware/gtk
Don't use guint32 with XChangeProperty
As pointed out in https://bugzilla.gnome.org/show_bug.cgi?id=710449, XChangeProperty expects data to be a long array for format 32.
This commit is contained in:
parent
daf05ad987
commit
0e1a424829
@ -3615,7 +3615,7 @@ gdk_x11_window_set_hide_titlebar_when_maximized (GdkWindow *window,
|
||||
|
||||
if (hide_titlebar_when_maximized)
|
||||
{
|
||||
guint32 hide = 1;
|
||||
gulong hide = 1;
|
||||
XChangeProperty (GDK_DISPLAY_XDISPLAY (display),
|
||||
GDK_WINDOW_XID (window),
|
||||
gdk_x11_get_xatom_by_name_for_display (display, "_GTK_HIDE_TITLEBAR_WHEN_MAXIMIZED"),
|
||||
@ -5431,7 +5431,7 @@ gdk_x11_window_set_opacity (GdkWindow *window,
|
||||
gdouble opacity)
|
||||
{
|
||||
GdkDisplay *display;
|
||||
guint32 cardinal;
|
||||
gulong cardinal;
|
||||
|
||||
g_return_if_fail (GDK_IS_WINDOW (window));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user