Exit without a SIGABRT when unable to open X display
authorMike Gorse <mgorse@suse.com>
Mon, 10 Sep 2012 17:00:19 +0000 (12:00 -0500)
committerMike Gorse <mgorse@suse.com>
Mon, 10 Sep 2012 17:00:19 +0000 (12:00 -0500)
commit35e3205bf55c3c818524dcb009dae41620b57e96
tree71ae5b7abc36239b6c56a7b1b6f28429a51e3c38
parent4c271819e4efc5a59b383e640c0592914c173585
Exit without a SIGABRT when unable to open X display

At-spi2-registryd was calling g_error when unable to open the default
display, which led to a SIGABRT and a core dump. This behavior is
inconsistent with what is generally done by GNOME apps, so let's call
g_warning() and exit(1) instead.

https://bugzilla.gnome.org/show_bug.cgi?id=660407
registryd/display.c