Minor fixes for latest Vala

This commit is contained in:
pancake committed 2013-06-27 17:14:50 +02:00
1 parent a1b2a6b972
commit fae9730f93
2 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -96,7 +96,7 @@ link: ${OFILES}
vapi:
echo " CC guicore.vapi" ; \
valac --library guicore \
valac --thread --library guicore \
--vapi widgets/include/guicore.vapi -H widgets/include/guicore.h \
guicore.vala --pkg r_core --pkg gtk+-2.0 -C
+2 -2
View File
@@ -54,7 +54,7 @@ public class Ragui.GuiCore {
public int cmd (string cmd) {
int ret = gc.core.cmd0 (cmd);
gc.core.cons.flush ();
Radare.RCons.flush ();
return ret;
}
@@ -68,7 +68,7 @@ public class Ragui.GuiCore {
th = Thread.create <void*>( () => {
bgtask = true;
int ret = gc.core.cmd0 (cmd);
gc.core.cons.flush ();
Radare.RCons.flush ();
return null;
}, true);
//unowned Thread th2 =