diff options
Diffstat (limited to 'src/page.vala')
-rw-r--r-- | src/page.vala | 6 |
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 |