Re: Strange glibc detected invalid pointer with gtk_entry

2011-07-05 Thread zz
On Tuesday 05 July 2011 16:19:00 Emmanuele Bassi wrote: > On 2011-07-05 at 15:05, z...@excite.it wrote: > > void my_gtk_entry_set_text(GtkEntry *entry, char *data) > > { > > char *tmp; > > > > if (!data) data = ""; > > > > if (g_utf8_validate(data, -1, NULL) != TRUE) { > >

GLib 2.29.10

2011-07-05 Thread Matthias Clasen
GLib 2.29.10 is now available for download at: ftp://ftp.gtk.org/pub/glib/2.29/ http://download.gnome.org/sources/glib/2.29/ 260f91e9cf051b712a344d34579a5403eb1dfb58127a4395b0d7f7385f1305cd glib-2.29.10.tar.xz 81eabdc56ac8a64900e798805f35655395f20f5155b57b42f577311ee45234bb glib-2.29.10.tar.b

GTK+ 3.1.8

2011-07-05 Thread Matthias Clasen
GTK+ 3.1.8 is now available for download at: ftp://ftp.gtk.org/pub/gtk/3.1/ http://download.gnome.org/sources/gtk+/3.1/ 0a0bb52af6c8220c40ed82e7361d353e6e1010480cba7b37863178c1d8f16d3e gtk +-3.1.8.tar.xz e51970133bb6ff7d585ce9f678e8ce6e3073a1b1d455cc42671503ce71d93533 gtk +-3.1.8.tar.bz2 Ano

Re: Help with closing a notebook page (GTK2)

2011-07-05 Thread walter tallent
You seem to be unintentionally making things very hard for yourself. I don't know anything about the purpose of your app, but you do not need to implement your own linked list, GLib already has a very capable list API built in. Also, the notebook already behaves like a linked list, so all the

Re: Strange glibc detected invalid pointer with gtk_entry

2011-07-05 Thread Emmanuele Bassi
On 2011-07-05 at 15:05, z...@excite.it wrote: > void my_gtk_entry_set_text(GtkEntry *entry, char *data) > { > char *tmp; > > if (!data) data = ""; > > if (g_utf8_validate(data, -1, NULL) != TRUE) { > tmp = g_locale_to_utf8(data, -1, NULL, NULL, NULL); >

Re: Strange glibc detected invalid pointer with gtk_entry

2011-07-05 Thread zz
On Tuesday 05 July 2011 14:24:48 Herbert Gasiorowski wrote: > I have an issue with nearly all gtk+ programs: since about one week the > programs > crash at startup with some fault like this: > > *** glibc detected *** ./gtk-tab2: munmap_chunk(): invalid pointer: > 0x01aa8eb0 *** > =

Strange glibc detected invalid pointer with gtk_entry

2011-07-05 Thread Herbert Gasiorowski
I have an issue with nearly all gtk+ programs: since about one week the programs crash at startup with some fault like this: *** glibc detected *** ./gtk-tab2: munmap_chunk(): invalid pointer: 0x01aa8eb0 *** === Backtrace: = /lib64/libc.so.6[0x365a47703a] /lib64/libglib-2.0

Re: Help with closing a notebook page (GTK2)

2011-07-05 Thread Neil Munro
On 4 July 2011 15:02, walter tallent wrote: > Hi. > I know I'm coming late to this party, but if you're packing the button  into > the > tab, it's a child of that notebook page.  Can't you retrieve  the page you're > on > by simply calling gtk_notebook_page_num () with the  button passed in as t