Update rust-clipboard to the version with working set_contents.

This commit is contained in:
Avi Weinstock 2015-07-17 13:45:46 -04:00
parent f86252a60b
commit 9ba18850dd
5 changed files with 4 additions and 5 deletions

View file

@ -476,7 +476,7 @@ impl<LTF: LayoutTaskFactory, STF: ScriptTaskFactory> Constellation<LTF, STF> {
sender.send(result).unwrap();
}
ConstellationMsg::SetClipboardContents(s) => {
if let Some(ref ctx) = self.clipboard_ctx {
if let Some(ref mut ctx) = self.clipboard_ctx {
if let Err(e) = ctx.set_contents(s) {
debug!("Error setting clipboard contents ({})", e);
}