Gtk-CRITICAL - getting meaningful information

2010-06-10 Thread Mick
I've been using gtk for a while and frequently get messages like this: (nuchimp2:2621): Gtk-CRITICAL **: gtk_text_view_get_buffer: assertion `GTK_IS_TEXT_VIEW (text_view)' failed some times I can stumble over the cause and solution but the rest of the time I'm left to blindly grope around in the da

RE: GTK Widget assertion problem

2010-06-10 Thread Shawn Bakhtiar
Wow slow down. 1) the suggestion was a good one, and I doubt any one on this list has NOT read that book at some point or another. It is the bible of C. I have the second edition re-print myself. 2) I too was going to make the same suggestions. 2.1) Global variables are in bad i

GTK+ 2.21.2 released

2010-06-10 Thread Matthias Clasen
GTK+ 2.21.2 is now available for download at: ftp://ftp.gtk.org/pub/gtk/2.21/ http://download.gnome.org/sources/gtk+/2.21/ 48f0466e8149159523cd999f6b12561e3ba9e9d3effd5927641d80f8c9f83fdd gtk +-2.21.2.tar.bz2 17ba1e1ef1122be9e845a1d1e520b82a3a7d5231365956e7c7754312f28aa5c3 gtk +-2.21.2.tar.g

Re: GTK Widget assertion problem

2010-06-10 Thread Michael T .
Hi, > > Hello, this all looks like utter voodoo. Yes it does. I tried 10 other ways and they didn't work. This one works perfectly (so far). > You have probably a trivial > bug somewhere (elsewhere) in your code, maybe some > extern/static/initialization confusion? All initialization was sho

Re: GKeyFile memory leak on Windows ?

2010-06-10 Thread Tor Lillqvist
Fixed now in git, bug #621168. --tml ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: GTK Widget assertion problem

2010-06-10 Thread David Nečas
On Thu, Jun 10, 2010 at 01:31:33PM +0200, Michael T. wrote: > In case anyone's interested I solved the problem with a little hack. > I create the progress bar this way: > > progBar = gtk_progress_bar_new(); > gtk_box_pack_start (GTK_BOX (vboxGr), GTK_PROGRESS_BAR(progBar), FALSE, > FALSE, 0); >

Re: GTK Widget assertion problem

2010-06-10 Thread Michael T .
In case anyone's interested I solved the problem with a little hack. I create the progress bar this way: progBar = gtk_progress_bar_new(); gtk_box_pack_start (GTK_BOX (vboxGr), GTK_PROGRESS_BAR(progBar), FALSE, FALSE, 0); gtk_widget_show (progBar)); progressBarHack(progBar); the function progr