[Gtk-sharp-list] problems with gconf list type

ddt ddt@mirstyle.org
Wed, 20 Aug 2003 17:20:38 +0900


hi

I'm writing a little program that get list type from gconf.
when i get string type no exception raise but list type is raise
exception.

here is my code
----
using Gconf;
public class test
{
  public static void Main()
  {
    GConf.Client gc = new GConf.Client();
    //string
    gc.Get("/apps/epiphany/web/cache_size");
    //list    
    gc.Get("/apps/epiphany/web/language");
  }
}
----
and error message here
----
$ mono gconf_get_list.exe 
Unhandled Exception: GConf.InvalidValueTypeException: Exception of type
GConf.InvalidValueTypeException was thrown.
in <0x000f0> 00 GConf.Value:Get ()
in <0x0012a> 00 GConf.Client:Get (string)
in <0x0003c> 00 .test:Main ()
----
Is this bug? or am I wrong?
Thanks