Re: Problem with gtk_label_set_text



Forgot to mention again its a multithreaded program

On 6/28/07, David Nečas (Yeti) <yeti physics muni cz> wrote:

On Thu, Jun 28, 2007 at 09:07:06AM +0530, Divya yadav wrote:
> I am using gtk_label_set_text in a dynamic gui and label keeps on
changing
> around 1-2 times every second.My program crashes because of this.

Why I can't see the backtrace in your post?
Not even any code?
You don't even say whether the program is single- or
multi-threaded.

Calling gtk_label_set_text() 1-2 times per second does not
crash programs.  That's a fact.

If you program crashes, it contains bugs.
Use valgrind and/or your preferred gdb frontend to debug it.
This is all one can say based on the detailed information
you provided.

Yeti

--
http://gwyddion.net/
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list



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