Re: gtk_toggle_button_set_active()

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

 



On 7/26/05, Tristan Van Berkom <tvb@xxxxxxxxx> wrote:
> riboaz@xxxxxxxxx wrote:
> [...]
> > Thus, my questions fall into the categories: how this could occur, under
> > what circumstances it might be possible (e.g., that I'm doing something
> > "illegal" in my code (though not "breaking" anything), etc.  Or, barring
> > any direct knowledge in this regard, how I might try to track the problem
> > down and answer the question: why is my call to
> > gtk_toggle_button_set_active() not resulting in my radio button being
> > properly set?
> 
> There has to be something wrong with your code (since you have a dozen
> working examples of togglebuttons in your code).
> 
> Try:
> (gdb): break gtk_toggle_button_set_active
> (gdb): run
> 
> Add g_print() all over the place like a true terrorist and
> eventually you'll nail the sucker.

I agree, it sounds lke a bug in your code. If it's memory corruption,
I'd try valgrind too. It can (usually) very quickly spot pointer
problems in your code.

John
_______________________________________________

gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list


[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux