Spawn.vala
authorAlan Knowles <alan@roojs.com>
Fri, 2 May 2014 10:42:39 +0000 (18:42 +0800)
committerAlan Knowles <alan@roojs.com>
Fri, 2 May 2014 10:42:39 +0000 (18:42 +0800)
Spawn.vala

index 912689d..f19b493 100644 (file)
@@ -431,8 +431,8 @@ public class Spawn : Object
                     }
                     if (this.async) {
                         try {
-                            if (imports.gi.Gtk.events_pending()) {
-                                imports.gi.Gtk.main_iteration();
+                            if ( Gtk.events_pending()) {
+                                 Gtk.main_iteration();
                             }
                         } catch(Error e) {