[mutter] ui: Make sure we use the correct atom



commit 1160744830c32eb172a718aae8f18d8f9b2ce106
Author: Adel Gadllah <adel gadllah gmail com>
Date:   Fri Dec 24 17:59:38 2010 +0100

    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 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/ui/ui.c b/src/ui/ui.c
index 6acab81..4f42822 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,



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]