Check returned error before using when registering with session manager
authorMike Gorse <mgorse@suse.com>
Wed, 23 Oct 2013 15:14:23 +0000 (10:14 -0500)
committerMike Gorse <mgorse@suse.com>
Wed, 23 Oct 2013 15:16:55 +0000 (10:16 -0500)
commitc86bd852d19d48e5ec7414d107b11419adacbb9c
tree4dd0a17b15efa72bb44494175742d1ffa04f55fa
parent81bd57045da050dd62d3a5628d308b3fcf035246
Check returned error before using when registering with session manager

Apparently, the call to register with gnome-session-manager can fail without
setting a GError, and, in any case, it doesn't hurt to check that the error
is set before using it.

https://bugzilla.gnome.org/show_bug.cgi?id=710689
registryd/registry-main.c