diff options
Diffstat (limited to 'cut-n-paste/totem-screensaver')
-rw-r--r-- | cut-n-paste/totem-screensaver/totem-scrsaver.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cut-n-paste/totem-screensaver/totem-scrsaver.c b/cut-n-paste/totem-screensaver/totem-scrsaver.c index 30ea718..bdff151 100644 --- a/cut-n-paste/totem-screensaver/totem-scrsaver.c +++ b/cut-n-paste/totem-screensaver/totem-scrsaver.c @@ -210,6 +210,9 @@ screensaver_dbus_disappeared_cb (GDBusConnection *connection, { TotemScrsaver *scr = TOTEM_SCRSAVER (user_data); + if (scr->priv->connection == NULL) + return; + g_assert (scr->priv->connection == connection); g_object_unref (scr->priv->connection); scr->priv->connection = NULL; |