Re: Glib::KeyFile bug?



On Mon, 2008-06-23 at 07:40 -0400, Damon Register wrote:
> Murray Cumming wrote:
> > Unfortunately, the fact that it throws exceptions is not currently
> > mentioned in the API reference documentation. I will fix that. Sorry.
> So it is a bug, in the documentation :-)
> 
> > I created a small example to show that it works:
> > http://svn.gnome.org/viewvc/glibmm/trunk/examples/keyfile/main.cc?view=markup
> Thank you very much for your effort there.  That is just what I needed.
> I just tried your new example and it worked.  I noticed in your example
> you wrote the comment
> 
>    "* examples/keyfile/main.cc: Added a little KeyFile example. I am
>     surprised that we do not seem to have one somewhere already.
>     I need to move all these glibmm examples into gtkmm-documentation some
>     time."
> 
> Before someone pointed me to KeyFile, I was looking at the GMarkup
> parser at
> http://library.gnome.org/devel/glib/stable/glib-Simple-XML-Subset-Parser.html
> but could not find any example for using it.  Is there an example for that
> or is that another "surprise"? :-)

There is an example:
http://svn.gnome.org/viewvc/glibmm/trunk/examples/markup/

Like I said in my commit comment, we need to put these in the gtkmm book
so they are easier to find.

> Thanks again for your KeyFile example.  That is just what I needed.

-- 
murrayc murrayc com
www.murrayc.com
www.openismus.com



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]