Created
November 6, 2012 00:40
-
-
Save weltonrodrigo/4021610 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
welton@butao:~/repo/vala/src$ valac --pkg Gio-2.0 unity-scope-grooveshark.vala | |
Gio-2.0.gir:44738.7-44738.47: warning: Virtual method `G.Resolver.lookup_service_async' conflicts with method of the same name | |
<virtual-method name="lookup_service_async"> | |
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
Gio-2.0.gir:46661.7-46661.31: warning: Signal `G.Settings.change_event' conflicts with method of the same name | |
<virtual-method name="change_event"> | |
^^^^^^^^^^^^^^^^^^^^^^^^^ | |
(valac:13581): GLib-CRITICAL **: g_str_has_suffix: assertion `str != NULL' failed | |
** (valac:13581): CRITICAL **: vala_gir_parser_node_lookup: assertion `name != NULL' failed | |
Gio-2.0.gir:59592.7-59596.24: error: `UnixSocketAddress' already contains a definition for `abstract' | |
Gio-2.0.gir:59464.7-59466.103: note: previous definition of `abstract' was here | |
Compilation failed: 1 error(s), 2 warning(s) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using GLib; | |
namespace Unity.Scope.Grooveshark{ | |
public class Daemon{ | |
public Daemon(){ | |
print("Constructor foo\n"); | |
} | |
public async void bob(){ | |
print("Printed foo\n"); | |
} | |
public static void main() { | |
var daemon = new Unity.Scope.Grooveshark.Daemon(); | |
daemon.bob(); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment