From 1160744830c32eb172a718aae8f18d8f9b2ce106 Mon Sep 17 00:00:00 2001 From: Adel Gadllah Date: Fri, 24 Dec 2010 17:59:38 +0100 Subject: [PATCH] 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. --- src/ui/ui.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ui/ui.c b/src/ui/ui.c index 6acab8107..4f42822e9 100644 --- a/src/ui/ui.c +++ b/src/ui/ui.c @@ -684,7 +684,7 @@ meta_text_property_to_utf8 (Display *xdisplay, display = gdk_x11_lookup_xdisplay (xdisplay); 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->value, prop->nitems,