summaryrefslogtreecommitdiff
path: root/src/page.vala
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2014-07-23 18:18:26 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2014-07-23 18:18:26 +0200
commit44a1fdd0075c7818b65d4191290cdce733687146 (patch)
tree3254cbee0a3ab39757bb7a1972faa884127f33cd /src/page.vala
parenta366a6feda133b888da763569953636c90017f57 (diff)
parentcce8437bfbdb21e2b97025de6721c78f6d4654fc (diff)
Merge tag 'upstream/3.13.4.2'
Upstream version 3.13.4.2
Diffstat (limited to 'src/page.vala')
-rw-r--r--src/page.vala6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/page.vala b/src/page.vala
index 34613b3..b375723 100644
--- a/src/page.vala
+++ b/src/page.vala
@@ -644,10 +644,10 @@ public class Page
public void copy_to_clipboard (Gtk.Window window)
{
- Gdk.Display display = window.get_display ();
- Gtk.Clipboard clipboard = Gtk.Clipboard.get_for_display (display, Gdk.SELECTION_CLIPBOARD);
+ var display = window.get_display ();
+ var clipboard = Gtk.Clipboard.get_for_display (display, Gdk.SELECTION_CLIPBOARD);
var image = get_image (true);
- clipboard.set_image(image);
+ clipboard.set_image (image);
}
public void save (string type, int quality, File file) throws Error