g_value privates
- From: Detlef Reichl <detlef reichl arcormail de>
- To: GTK-devel <gtk-devel-list gnome org>
- Subject: g_value privates
- Date: 19 Oct 2001 20:28:02 +0200
to set a g_value afaik the right way is something like this:
GValue value;
g_value_init (&value, G_TYPE_BOOLEAN);
g_value_set_boolean (&value, FALSE);
but that gives me an
tree (pid:26012): GRuntime-WARNING **: gvalue.c:79:g_value_init():
cannot initialize GValue with type `gboolean', the value has already
been initialized as `(null)'
only if i set value.g_type = 0 before this it works like expected, but
this is marked as privat
do i miss someting, or is it a bug? to compile i use gcc 3.0
have a nice day
detlef
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]