Silence the conversion from xatom to atom too

This commit is contained in:
Matthias Clasen 2009-08-20 18:06:35 -04:00
parent 277d840616
commit e0a1e78a5a

View File

@ -296,7 +296,9 @@ gdk_x11_xatom_to_atom_for_display (GdkDisplay *display,
GdkAtom virtual_atom = GDK_NONE;
g_return_val_if_fail (GDK_IS_DISPLAY (display), GDK_NONE);
g_return_val_if_fail (xatom != None, GDK_NONE);
if (xatom == None)
return GDK_NONE;
if (display->closed)
return GDK_NONE;