src/Builder4/WindowState.vala
authorAlan Knowles <alan@roojs.com>
Fri, 27 Feb 2015 07:56:22 +0000 (15:56 +0800)
committerAlan Knowles <alan@roojs.com>
Fri, 27 Feb 2015 07:56:22 +0000 (15:56 +0800)
src/Builder4/WindowState.vala

index f3bf526..eba462c 100644 (file)
@@ -699,7 +699,9 @@ public class WindowState : Object
     }
     public void resizeCanvasElements(Gtk.Allocation alloc)
     {
-        if (!this.children_loaded) { 
+       print("WindowState.resizeCanvasElements\n");
+       if (!this.children_loaded || this.win.clutterfiles == null) {
+           print("WindowState.resizeCanvasElements = ingnore not loaded or no clutterfiles\n");
             return; 
         }