projects
/
app.webkitpdf
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1107f8b
)
wksnapshot.vala
author
Alan Knowles
<alan@roojs.com>
Mon, 18 Apr 2016 09:02:43 +0000
(17:02 +0800)
committer
Alan Knowles
<alan@roojs.com>
Mon, 18 Apr 2016 09:02:43 +0000
(17:02 +0800)
wksnapshot.vala
patch
|
blob
|
history
diff --git
a/wksnapshot.vala
b/wksnapshot.vala
index
4244409
..
d916bac
100644
(file)
--- a/
wksnapshot.vala
+++ b/
wksnapshot.vala
@@
-35,12
+35,12
@@
public class Browser : Window {
print("making screenshot\n");
- var map = view.get_snapshot( null );
+ var
pix
map = view.get_snapshot( null );
var img = new Image.from_pixmap ( map, null);
int w,h;
- map.get_size(out w , out h);
+
pix
map.get_size(out w , out h);
var pixbuf = Gdk.pixbuf_get_from_drawable(null, pixmap, null , 0, 0, 0, 0, w, h);