old g_param_spec_interface
- From: <cole-anstey ntlworld com>
- To: <gtk-list gnome org>
- Subject: old g_param_spec_interface
- Date: Wed, 25 Jan 2006 15:11:58 +0000
I'm curious to find out whether anyone remembers why g_param_spec_interface was added to
v1.10 gparamspecs.c - Mon Mar 5 15:26:30 2001 Jonathan Blandford
and then removed almost straight away?
v1.11 gparamspecs.c - Wed Mar 7 09:36:33 2001 Tim Janik
I'm trying to pass an interface to a g_param_spec and would like it to do a type check against a given interface.
I think the above api would have allowed this.
I have tried using g_param_spec_object but it displays the following assertion.
(libgdl.exe:3272): GLib-GObject-CRITICAL **: g_param_spec_object: assertion `g_type_is_a (object_type, G_TYPE_OBJECT)' failed
(libgdl.exe:3272): GLib-GObject-CRITICAL **: g_object_class_install_property: assertion `G_IS_PARAM_SPEC (pspec)' failed
I have been using g_param_pointer to get around this but it obviously does not check for a specific type.
Thank you
Cole
-----------------------------------------
Email sent from www.ntlworld.com
Virus-checked using McAfee(R) Software
Visit www.ntlworld.com/security for more information
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]