summaryrefslogtreecommitdiff
path: root/src/gs-auth-pam.c
diff options
context:
space:
mode:
authormonsta <[email protected]>2015-11-12 12:02:14 +0300
committermonsta <[email protected]>2015-11-30 14:56:53 +0300
commit8b30ebf59492dca891a847b1ba4cf23edb693266 (patch)
treec649ec1ccb4746fbf53dc802f34cd6eb67695bd4 /src/gs-auth-pam.c
parent43cd79f4d620167bd72736a811dc4d6b627b124f (diff)
downloadmate-screensaver-8b30ebf59492dca891a847b1ba4cf23edb693266.tar.bz2
mate-screensaver-8b30ebf59492dca891a847b1ba4cf23edb693266.tar.xz
fix warnings due to wrong id passed to g_source_remove
Diffstat (limited to 'src/gs-auth-pam.c')
-rw-r--r--src/gs-auth-pam.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gs-auth-pam.c b/src/gs-auth-pam.c
index f150277..3ca3e42 100644
--- a/src/gs-auth-pam.c
+++ b/src/gs-auth-pam.c
@@ -694,6 +694,7 @@ out:
if (watch_id != 0)
{
g_source_remove (watch_id);
+ watch_id = 0;
}
if (channel != NULL)