Re: [Vala] Vala time handling.

2008-10-06 Thread Jürg Billeter
Hi Karl, On Mon, 2008-10-06 at 11:58 +0100, Karl Lattimer wrote: I'm trying to figure out my way around vala's time stuff, but I'm having a hard time, looking at vapi files isn't great :/ Specifically I want to produce timestamps, generally this is an easy thing to do in most languages but

[Vala] Strange Gtk-CRITICAL assertions GTK_IS_TYPE (variable) failures

2008-10-06 Thread Mildred Ki'Lya
Hi, I'm trying to use Vala to create a Gtk+ application, but I'm having all sorts of problems. So I basically get: Gtk-CRITICAL **: gtk_widget_show_all: assertion `GTK_IS_WIDGET (widget)' failed And nothing happens. The problem occurs in a callback from a menu item (the help-about menu item).

Re: [Vala] Vala time handling.

2008-10-06 Thread Karl Lattimer
If you only need an integer timestamp of the current time, you can cast a time_t value, e.g. long t = (long) time_t (); Better not to use a sledge hammer to swat a fly huh! that's a lot easier thanks :) BR, K ___ Vala-list mailing list

[Vala] GObject-introspection namespaces

2008-10-06 Thread Hans Vercammen
Hi, I have been toying a bit with the new gobject-introspection module at gnome-svn and some things caught my attention. It seems that the glib library is divided into different namespaces according to the glib modules, which follows more or less the python bindings. Assuming that at some point