• Daniel Drake's avatar
    meta_window_new: clean up error handling · af46ef3b
    Daniel Drake authored
    The return code of XGetWindowAttributes() indicates whether an error
    was encountered or not. There is no need to specifically check the error
    trap.
    
    The trap around XAddToSaveSet() was superfluous. We have a global error
    trap to ignore any errors here, and there is no need to XSync() as GDK
    will later ignore the error asynchronously if one is raised.
    
    Also move common error exit path to an error label.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=721345
    af46ef3b
Name
Last commit
Last update
doc Loading commit data...
po Loading commit data...
protocol Loading commit data...
src Loading commit data...
test Loading commit data...
tools Loading commit data...
.cvsignore Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
COMPLIANCE Loading commit data...
COPYING Loading commit data...
ChangeLog Loading commit data...
Doxyfile Loading commit data...
HACKING Loading commit data...
MAINTAINERS Loading commit data...
METACITY_MAINTAINERS Loading commit data...
Makefile.am Loading commit data...
NEWS Loading commit data...
README Loading commit data...
autogen.sh Loading commit data...
configure.ac Loading commit data...
mutter.doap Loading commit data...
rationales.txt Loading commit data...
stamp.h.in Loading commit data...