gsignals and closure
- From: Marisa DeMeglio <marisa dinf ne jp>
- To: gtk-app-devel-list gnome org
- Subject: gsignals and closure
- Date: Thu, 24 Jun 2004 17:40:27 -0400
Hi,
I'm trying to add parameters to my gsignal implementation. Is the use
of a closure function required to handle parameters? I wrote a
marshall.list file and ran it through glib-genmarshall to generate the c
and header files, but my parameter (right now just a guint for testing)
always comes out as garbage on the signal recipient's end. The only
difference between my test app and the sample given at le-hacker.org is
that his maman-file-complex class uses a default_closure function. I'm
not sure, but it doesn't seem to be related to parameter-passing. Does
anyone know more about this?
Thanks
Marisa
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]