Does gtk_signal_emit operate synchronously



I'm wondering if gtk_signal_emit does all of it's signal emitting before it
returns to the caller (as opposed to queuing up activities for later).

For example, say I want to pass a pointer around: can I do this safely?
(Assume I have the marshaller and signal signature set up correctly).

gpointer bob = g_malloc(1000);

gtk_signal_emit(GTK_OBJECT(obj),object_signals[RESYNC_SIGNAL],bob);

g_free(bob);

Thanks
Kent




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]