Re: glib utf8 api

2008-03-04 Thread Owen Taylor
On Tue, 2008-03-04 at 16:24 -0800, Gregory Sharp wrote: > Thanks so much Owen and Bedhad for your response. > > > > 1) There seems to be no good way to strncpy a utf8 string > > > into a fixed buffer. g_strncpy doesn't work, because the > > > last character can get truncated causing an invalid

Re: simple widget to draw on ?

2008-03-04 Thread Sven Neumann
Hi, On Sun, 2008-03-02 at 13:33 -0500, Havoc Pennington wrote: > I would maybe not add a new widget for this, but instead make > GtkDrawingArea have a no-window mode. If you look at the GtkFixed > source, it has conditional branches in realize() and size_allocate() > depending on whether NO_WINDO