Re: gtk_toggle_button_set_active()
- From: "richard boaz" <riboaz xs4all nl>
- To: gtk-list gnome org
- Subject: Re: gtk_toggle_button_set_active()
- Date: Tue, 26 Jul 2005 20:16:31 +0200
thanks, guys... r-
On Tue, 26 Jul 2005 17:09:32 +0100, John Cupitt <jcupitt gmail com> wrote:
On 7/26/05, Tristan Van Berkom <tvb gnome org> wrote:
riboaz xs4all nl 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
--
Richard Boaz
riboaz xs4all nl
+31.(0)648.792.484
http://www.boazconsultancy.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]