sharing: Fix crash when turning off Sharing

Another fallout from:
05a4f6d3d9

https://bugzilla.gnome.org/show_bug.cgi?id=712338
This commit is contained in:
Bastien Nocera 2013-11-14 23:46:00 +01:00
parent 3ec49452a1
commit 70a4183168

View file

@ -100,7 +100,7 @@ cc_sharing_panel_master_switch_notify (GtkSwitch *gtkswitch,
gtk_switch_set_active (GTK_SWITCH (WID ("share-public-folder-on-network-switch")),
FALSE);
gtk_switch_set_active (GTK_SWITCH (WID ("share-media-switch")), FALSE);
gtk_switch_set_active (GTK_SWITCH (WID ("share-public-folder-switch")),
gtk_switch_set_active (GTK_SWITCH (WID ("save-received-files-to-downloads-switch")),
FALSE);
}