mirror of
https://github.com/brl/mutter.git
synced 2024-11-25 01:20:42 -05:00
ui: Make sure we use the correct atom
We have to use gdk_x11_xatom_to_atom for display to make it consistent with the surrounding code.
This commit is contained in:
parent
e884fc784e
commit
1160744830
@ -684,7 +684,7 @@ meta_text_property_to_utf8 (Display *xdisplay,
|
|||||||
|
|
||||||
display = gdk_x11_lookup_xdisplay (xdisplay);
|
display = gdk_x11_lookup_xdisplay (xdisplay);
|
||||||
count = gdk_text_property_to_utf8_list_for_display (display,
|
count = gdk_text_property_to_utf8_list_for_display (display,
|
||||||
gdk_x11_xatom_to_atom (prop->encoding),
|
gdk_x11_xatom_to_atom_for_display (display, prop->encoding),
|
||||||
prop->format,
|
prop->format,
|
||||||
prop->value,
|
prop->value,
|
||||||
prop->nitems,
|
prop->nitems,
|
||||||
|
Loading…
Reference in New Issue
Block a user