GValue initialization with G_TYPE_BOXED
- From: Jeff Franks <jcf tpg com au>
- To: gtk-devel-list gnome org
- Subject: GValue initialization with G_TYPE_BOXED
- Date: Fri, 01 Feb 2002 04:23:04 +1100
Hi,
When I try to initiailize this GValue
GValue value = { 0, };
g_value_init(&value, G_TYPE_BOXED);
I get the following error message at runtime:
GLib-GObject-WARNING **: gvalue.c:88:g_value_init(): cannot initialize
GValue with type `GBoxed', this type has no GTypeValueTable implementation.
Do you have to initialize the GValue with the actual boxed type, such as
GDK_TYPE_COLOR.
Jeff
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]