GNOME Bugzilla – Bug 561989
Signals for GType based fundanmental classes.
Last modified: 2008-12-01 07:58:08 UTC
Please describe the problem: GSignal system doesn't specifically require signals to be binded with GObject derivatives. See: http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#id3198916 This patch enables signals in vala's GType based fundanmental classes. Steps to reproduce: Actual results: Expected results: Does this happen every time? Other information: It also fixed a bug in type_collect function which causes g_value_set_instance to fail. (and therefore the g_signal_emit also fails).
Created attachment 123257 [details] [review] Signals for GType based classes
I would suggest this patch and Bug 562070 to be merged upstream together.
2008-12-01 Jürg Billeter <j@bitron.ch> * gobject/valagobjectmodule.vala: * gobject/valagsignalmodule.vala: Support signals in non-GObject classes, patch by Yu Feng, fixes bug 561989 Fixed in r2108.