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:
Adel Gadllah 2010-12-24 17:59:38 +01:00
parent e884fc784e
commit 1160744830

View File

@ -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,