Re: [Vala] Migrating to GLib.DBus caused problems

2010-10-11 Thread Abderrahim Kitouni
Hi, في ث، 12-10-2010 عند 00:22 +0400 ، كتب Gavrilov Maksim: > Hello, guys! > > I became tired of warnings when using old dbus-glib method, so I went to > http://live.gnome.org/Vala/DBusClientSample and tried to compile first > BlueZ sample exactly as it is written there, but I g

Re: [Vala] Migrating to GLib.DBus caused problems

2010-10-11 Thread Jürg Billeter
On Tue, 2010-10-12 at 00:22 +0400, Gavrilov Maksim wrote: > Hello, guys! > > I became tired of warnings when using old dbus-glib method, so I went to > http://live.gnome.org/Vala/DBusClientSample and tried to compile first > BlueZ sample exactly as it is written there, but I get a GREAT amount o

[Vala] Migrating to GLib.DBus caused problems

2010-10-11 Thread Gavrilov Maksim
Hello, guys! I became tired of warnings when using old dbus-glib method, so I went to http://live.gnome.org/Vala/DBusClientSample and tried to compile first BlueZ sample exactly as it is written there, but I get a GREAT amount of c-mistakes :( What should I do? Searched all over the Internet

[Vala] Vala Toys 0.10.3 beta 2

2010-10-11 Thread Andrea Del Signore
Hi all, I just uploaded a new beta tarball of Vala Toys with some new big features: * Combo for a quicker symbol browsing / locating * Live parser error on the bottom pane * Go To outer scope command * Jump to any symbol in the project not just on the current file (CTRL+ALT+M) * Automatically sea

Re: [Vala] Checking file locks in Vala

2010-10-11 Thread David Ma
David Ma writes: > > How do you check whether a file is locked in Vala? > However, this function needs to use the struct 'flock' as the third argument > passed to fcntl, but this struct doesn't exist in the posix.vapi file (at least, > I can't see it in there, or in Valadoc). I put the foll

[Vala] Checking file locks in Vala

2010-10-11 Thread David Ma
How do you check whether a file is locked in Vala? I want to check whether the file /var/lib/dpkg/lock is locked (to check whether Synaptic is running). As far as I can see from Posix documentation, the function Posix.fcntl should be used per the examples in http://www.opengroup.org/onlinepu