2007/7/29, David Nečas (Yeti) <[EMAIL PROTECTED]>:
>
> If you call g_free() on g_alloca()-allocated memory, errors
> will occur.
>
> Yeti
My mistake, I use g_malloc. I don't know why i wrote g_alloca ;P
--
Cya!
Tom
___
gtk-app-devel-list mailing lis
On Sun, Jul 29, 2007 at 12:45:38PM +0200, Tomasz Jankowski wrote:
> 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);
If you call g_free() on g_alloca()-allocated memory, errors
will o
On Sun, 2007-07-29 at 12:45 +0200, Tomasz Jankowski wrote:
> 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?
no: you don't need a main loop to emit signals.
> My code looks like this, please tell me if i
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 GM