Hello again! ;)

I need to know how signals in GObject are called, because I pass dynamically
allocated memory as one of callback's arguments and I need to know, when i
can free it. I need to know, when exactly callback function is called. Is it
called during  'g_signal_emit ()' or it's added to GMainLoop or something?
My code looks like this, please tell me if it may occur any memory
allocation errors:

A = g_alloca ();
g_signal_emit(..., A and other args);
g_free (A);

-- 
Cya!
Tom
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to