summaryrefslogtreecommitdiff
path: root/src/user_share.c
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2013-04-30 14:56:26 +0200
committerStefano Karapetsas <[email protected]>2013-04-30 14:56:26 +0200
commit86a4c47fb645ef8895557c52b6ef67c7091ad6e9 (patch)
treee0098c92f5dad5ca4dd076cdad615f870a57d000 /src/user_share.c
parent435664a07d51b5db3e1e8171700843e254813c11 (diff)
downloadmate-user-share-86a4c47fb645ef8895557c52b6ef67c7091ad6e9.tar.bz2
mate-user-share-86a4c47fb645ef8895557c52b6ef67c7091ad6e9.tar.xz
Fix data passed to disabled_timeout_callback
In mate-user-share/src/user_share.c, the wrong variable is being passed as a gsettings pointer to the disabled_timeout_callback. https://bugs.launchpad.net/linuxmint/+bug/1005649/comments/36
Diffstat (limited to 'src/user_share.c')
-rw-r--r--src/user_share.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/user_share.c b/src/user_share.c
index 35e4a27..53ceec1 100644
--- a/src/user_share.c
+++ b/src/user_share.c
@@ -346,7 +346,7 @@ file_sharing_enabled_changed (GSettings *settings, gchar *key, gpointer data)
http_down ();
disabled_timeout_tag = g_timeout_add_seconds (3,
(GSourceFunc)disabled_timeout_callback,
- client);
+ settings);
}
}