Re: [Vala] Compile error (interfacing DBus)

2008-05-20 Thread Jürg Billeter
Hi Hannes, On Tue, 2008-05-20 at 11:45 +0200, Hannes Matuschek wrote: > I've tried to deal with HAL's DBus-interface but got some compile > errors (compiling the C code). > [...] > Fails to compile: > valac --pkg=dbus-glib-1 -o test src/main.vala > main.c: In function 'us_backup_main': > main.c:47

[Vala] Compile error (interfacing DBus)

2008-05-20 Thread Hannes Matuschek
Hi, I've tried to deal with HAL's DBus-interface but got some compile errors (compiling the C code). using GLib; public class USBackup: Object { public static int main(string[] args) { DBus.Connection conn; dynamic DBus.Object manager; string[]ids