Re: [Vala] Interfaces and Mixins

2010-06-15 Thread Robert Powell
On Tue, Jun 15, 2010 at 4:00 PM, tecywiz121 wrote: > On Tue, 2010-06-15 at 14:50 -0700, Robert Powell wrote: > > On Sat, Jun 12, 2010 at 7:03 AM, tecywiz121 > > You can access Entity.flush by casting this to an Entity. I think > > you'll find that when you refer to the object you will receive G

Re: [Vala] Interfaces and Mixins

2010-06-15 Thread tecywiz121
On Tue, 2010-06-15 at 14:50 -0700, Robert Powell wrote: > On Sat, Jun 12, 2010 at 7:03 AM, tecywiz121 > wrote: > Hey, > > Hey! > > > > The following code won't compile unless I create a flush() in > Concrete, > but I can't seem to access Entity.flush()

Re: [Vala] Interfaces and Mixins

2010-06-15 Thread Robert Powell
On Sat, Jun 12, 2010 at 7:03 AM, tecywiz121 wrote: > Hey, > Hey! > > The following code won't compile unless I create a flush() in Concrete, > but I can't seem to access Entity.flush() at all, any way around this > that doesn't involve making Entity a class? > public interface Flushable : Obje

Re: [Vala] Strangeness with sorting using Gee ArrayList

2010-06-15 Thread Didier 'Ptitjes'
Hi folks, On 06/15/10 18:47, Dr. Michael Lauer wrote: > Am 15.06.2010 um 17:52 schrieb Abderrahim Kitouni: >> Yes, it is. It's however fixed in git >> http://git.gnome.org/browse/libgee/commit/?id=06ec26321cd3a475ac10ca3d47a4e4dbb4e44e00 >> >> I wonder why this didn't result in a bug fix release.

Re: [Vala] does not exist in the context of

2010-06-15 Thread Arkadi Viner
You should write at the beginning of the code: using DBus; and when you compile the code, you should include - dbus-glib-1. On Tue, Jun 15, 2010 at 8:54 PM, Dennis Kerrisk wrote: >I get this error: > rygel-main.vala:263.23-263.34: error: The name `DbusService2' does not > exist i

[Vala] does not exist in the context of

2010-06-15 Thread Dennis Kerrisk
I get this error: rygel-main.vala:263.23-263.34: error: The name `DbusService2' does not exist in the context of `Rygel.Main.main' service2 = new DbusService2(); In the code below. Can anybody help me? private static int main (st

Re: [Vala] Sqlite vapi in the posix profile

2010-06-15 Thread Abderrahim Kitouni
2010/6/14, Celil : > I need to use the Sqlite vapi without any depedence on GLib. > > When I try to compile the attached file with the `--profile posix` > option, however, I get the following error messages: > > sqlite3.vapi:357.56-357.59: error: The symbol `GLib' could not be found >

[Vala] [ANNOUNCE] Libgee 0.5.1 - GObject collection library

2010-06-15 Thread Jürg Billeter
We are very pleased to announce version 0.5.1 of Libgee, the GObject collection library. Libgee 0.5.1 is now available for download at: http://download.gnome.org/sources/libgee/0.5/ Also please note that now Libgee has its own mailing-list http://mail.gnome.org/mailman/listinfo/libgee-l

Re: [Vala] Strangeness with sorting using Gee ArrayList

2010-06-15 Thread Dr. Michael Lauer
Am 15.06.2010 um 17:52 schrieb Abderrahim Kitouni: > 2010/6/13, Christer : >> Hi all, >> >> Ive been stuck with this problem for a week now. I have been asking on the >> irc channel as well but nobody so far has been able to see a problem with >> the code. I have gotten the suggestion to compile

Re: [Vala] Strangeness with sorting using Gee ArrayList

2010-06-15 Thread Abderrahim Kitouni
2010/6/13, Christer : > Hi all, > > Ive been stuck with this problem for a week now. I have been asking on the > irc channel as well but nobody so far has been able to see a problem with > the code. I have gotten the suggestion to compile gee with debug info to dig > deeper but I dont know how

Re: [Vala] New params for [ModuleInit]

2010-06-15 Thread Abderrahim Kitouni
Hi, 2010/6/13 JM : > Hello Abderrahim > Thanks for the help! > Your example compiles and can be executed. However there is a warning on > execution: > $ ./main > Loading plugin with path: '/home/me/plugin-example-new/libplugin.so' > Loaded module: '/home/me/plugin-example-new/libplugin.so' > Plugi