[gnomemm] gconfmm
- From: Christian Eide <chreide online no>
- To: gnomemm-list gnome org
- Subject: [gnomemm] gconfmm
- Date: 22 Oct 2002 15:19:21 +0200
Can someone please tell me the right way to get the valuetype of a
particular gconf value?
I use something like this:
Gnome::Conf::Value value(m_refClient->get(some_path + key));
switch(value.get_type())
{
case GCONF_VALUE_STRING:
....
case GCONF_VALUE_INT:
....
}
The code works as intended, but I get a lot of these error-messages:
GConf-CRITICAL **: file gconf-value.c: line 68 (gconf_value_new):
assertion `GCONF_VALUE_TYPE_VALID(type)' failed
I've also noticed that i get the same error-message when I declear a new
Gnome::Conf::Value using the standard constructor like this:
Gnome::Conf::Value value;
Can anyone point me to some answers? As I said, the code _works_
perfectly, but those GConf-CRITICAL-messages are a bit irritating.
--
Christian Eide
<chreide online no>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]