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:19 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2014-07-23 18:18:19 +0200
commitcce8437bfbdb21e2b97025de6721c78f6d4654fc (patch)
tree3254cbee0a3ab39757bb7a1972faa884127f33cd /src/page.vala
parenta366a6feda133b888da763569953636c90017f57 (diff)
Imported Upstream version 3.13.4.2upstream/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