diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/caja-application.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/caja-application.c b/src/caja-application.c index 28c1ce1a..29530071 100644 --- a/src/caja-application.c +++ b/src/caja-application.c @@ -719,7 +719,11 @@ screensaver_vanished_callback (GDBusConnection *connection, g_debug ("ScreenSaver name vanished"); application->screensaver_active = FALSE; - g_object_unref (&application->ss_proxy); + if (application->ss_proxy != NULL) + { + g_object_unref (application->ss_proxy); + application->ss_proxy = NULL; + } /* in this case force a clear of the volume queue, without * mounting them. |