Re: [Solved] Re: [gobject-introspection] callback without GDestroyNotify

2012-10-24 Thread Mohan R
On Tue, 2012-10-23 at 19:43 +0100, Emmanuele Bassi wrote: hi; don't use the G namespace for you code unless you plan on submitting it for inclusion in GLib. If you're writing a gtweet library, then the namespace ought to be Gtweet. ciao, Emmanuele. Of course I'm going to submit

Re: [Solved] Re: [gobject-introspection] callback without GDestroyNotify

2012-10-24 Thread Alexander Larsson
On ons, 2012-10-24 at 11:34 +0530, Mohan R wrote: On Tue, 2012-10-23 at 19:43 +0100, Emmanuele Bassi wrote: hi; don't use the G namespace for you code unless you plan on submitting it for inclusion in GLib. If you're writing a gtweet library, then the namespace ought to be

Re: [Solved] Re: [gobject-introspection] callback without GDestroyNotify

2012-10-24 Thread Emmanuele Bassi
hi; On 24 October 2012 07:04, Mohan R mohan...@gmail.com wrote: On Tue, 2012-10-23 at 19:43 +0100, Emmanuele Bassi wrote: hi; don't use the G namespace for you code unless you plan on submitting it for inclusion in GLib. If you're writing a gtweet library, then the namespace ought to be

Re: [Solved] Re: [gobject-introspection] callback without GDestroyNotify

2012-10-24 Thread Mohan R
On Wed, 2012-10-24 at 10:42 +0100, Emmanuele Bassi wrote: you should not be using the g_*/G* namespace unless you're contributing code to GLib (glib, gobject, gio) — not GNOME. using the g_* namespace from other components may very well lead to symbol collision. Sorry, I was confused. So,

[Solved] Re: [gobject-introspection] callback without GDestroyNotify

2012-10-23 Thread Mohan R
Fixed it, My mistake, annotations are wrong, because the name of the function is 'g_tweet_object_samplestream', but the anotation says 'tweet_object_samplestream'. Sorry to distrub you all. On Tue, 2012-10-23 at 21:11 +0530, Mohan R wrote: /** * tweet_object_samplestream: * @tweetObject: a

Re: [Solved] Re: [gobject-introspection] callback without GDestroyNotify

2012-10-23 Thread Emmanuele Bassi
hi; don't use the G namespace for you code unless you plan on submitting it for inclusion in GLib. If you're writing a gtweet library, then the namespace ought to be Gtweet. ciao, Emmanuele. On Oct 23, 2012 7:15 PM, Mohan R mohan...@gmail.com wrote: Fixed it, My mistake, annotations are