Skip to content
Snippets Groups Projects
Commit f596f888 authored by Shawn Anastasio's avatar Shawn Anastasio
Browse files

Catch gs_listener_dbus_init failures

In cases where the dbus connection fails, gs_listener_dbus_init
will fail and return FALSE. Previously, this status code was not
checked in the gs_listener constructor, resulting in a silent failure
that eventually resulted in a Segmentation Fault when the listener's
system_connection pointer gets used.

Add a g_assert to ensure gs_listener_dbus_init succeeds, or bail out
gracefully on failures.
parent 15c9bddd
No related branches found
No related tags found
1 merge request!3Catch gs_listener_dbus_init failures
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment