diff options
author | Colomban Wendling <[email protected]> | 2023-08-09 19:07:17 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2023-08-10 00:13:05 +0200 |
commit | 2e9c40a456922ca78c7ba80b0c46837b5b3c972e (patch) | |
tree | f1bf4917793df96925ee1c2a23c1a9779c48702f /src | |
parent | 7da955fada978e6f34043cc2e190dd3237c7dc3b (diff) | |
download | mate-notification-daemon-2e9c40a456922ca78c7ba80b0c46837b5b3c972e.tar.bz2 mate-notification-daemon-2e9c40a456922ca78c7ba80b0c46837b5b3c972e.tar.xz |
Fix potential crash if org.mate.ScreenSaver doesn't respond
Diffstat (limited to 'src')
-rw-r--r-- | src/daemon/daemon.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/daemon/daemon.c b/src/daemon/daemon.c index 88927ed..71426f3 100644 --- a/src/daemon/daemon.c +++ b/src/daemon/daemon.c @@ -1126,6 +1126,7 @@ static gboolean screensaver_active(GtkWidget* nw) if (proxy == NULL) { g_warning("Failed to get dbus connection: %s", error->message); g_error_free (error); + return active; } variant = g_dbus_proxy_call_sync (proxy, |