projects
/
app.Builder.js
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7f39387
)
src/Builder4/WindowState.vala
author
Alan Knowles
<alan@roojs.com>
Fri, 27 Feb 2015 09:23:53 +0000
(17:23 +0800)
committer
Alan Knowles
<alan@roojs.com>
Fri, 27 Feb 2015 09:23:53 +0000
(17:23 +0800)
src/builder_vala.stamp-t
src/Builder4/WindowState.vala
patch
|
blob
|
history
diff --git
a/src/Builder4/WindowState.vala
b/src/Builder4/WindowState.vala
index
361187b
..
14329ad
100644
(file)
--- a/
src/Builder4/WindowState.vala
+++ b/
src/Builder4/WindowState.vala
@@
-718,6
+718,12
@@
public class WindowState : Object
public bool resizeCanvasQueue()
{
print("WindowState.resizeCanvasQueue %d\n", this.redraw_count);
+
+ if (this.redraw_canvas < 1) {
+ return false; // should not really happen...
+ }
+
+
this.redraw_count--;
if (this.redraw_canvas > 0) {