Question about signals in GObject
- From: "Tomasz Jankowski" <tomcioj gmail com>
- To: gtk-app-devel-list gnome org
- Subject: Question about signals in GObject
- Date: Sun, 29 Jul 2007 12:45:38 +0200
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]