Signal propagation with g_signal_emit_valist()
- From: Nicola Fontana <ntd users sourceforge net>
- To: gtk-app-devel-list gnome org
- Subject: Signal propagation with g_signal_emit_valist()
- Date: Thu, 27 Sep 2007 00:45:00 +0200
Hi all,
I've the following function:
void
propagate_valist (GSList *children,
guint signal_id,
GQuark detail,
va_list var_args)
{
GSList *child = children;
while (child)
{
if (G_IS_OBJECT (child->data))
g_signal_emit_valist (child->data, signal_id, detail, var_args);
child = g_slist_delete_link (child, child);
}
}
}
Is it valid to do multiple calls to g_signal_emit_valist() using the same va_list?
I'm noticing segfaults on my AMD64 system and I suspect this is the problem...
Thankyou,
-- Nicola
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]