Re: Installing property in interface

2007-02-04 Thread Stefan Kost
Hi Thomas, only one small change needed: static void goofy_file_transfer_base_init (gpointer g_iface) { static gboolean initialized = FALSE; if (!initialized) { g_object_interface_install_property (g_iface, g_param_spec_string (transfer-status,

Re: Installing property in interface

2007-01-31 Thread Tomasz Jankowski
2007/1/31, David Nečas (Yeti) [EMAIL PROTECTED]: On Wed, Jan 31, 2007 at 10:02:26PM +0100, Tomasz Jankowski wrote: I'm trying to install property into main interface, but when I run program it always display me this warning: (lt-goofysender:10709): GLib-GObject-WARNING **: When

Re: Installing property in interface

2007-01-31 Thread Daniel Atallah
On 1/31/07, Tomasz Jankowski [EMAIL PROTECTED] wrote: Please don't say me, that I was so stupid all the time :| Let say that we have such function: static void maman_ibaz_base_init (gpointer g_iface) { static gboolean initialized = FALSE; if (!initialized) { /* create interface

Re: Installing property in interface

2007-01-31 Thread Yeti
On Wed, Jan 31, 2007 at 11:23:17PM +0100, Tomasz Jankowski wrote: static void maman_ibaz_base_init (gpointer g_iface) { static gboolean initialized = FALSE; if (!initialized) { /* create interface signals here. */ initialized = TRUE; } } I'm quite young programmer