Re: Destroying spin button on value change



Jay Bloodworth <jay dokodiner com> writes: 
> I understand that wanting to delete a spin button from within it's own
> handler is unconcentional a in many ways a Bad Idea (tm).  But it also
> seems
> to me to be little difference between this logically and clicking a
> button
> that destroys its parent dialog.  I humbly suggest perhaps sandwiching
> the
> code in each each of the event handlers in gtkspinbutton.c between an
> gtk_ref(self) and gtk_unref(self) might be an Ok Idea, but I'm not
> positive
> it would help my situation and certainly don't know what other
> reprecussions
> it might have.  Still, FWIW.
> 

GTK generally supports this kind of thing, so I'd consider this a
bug.  You might want to stick it in http://bugzilla.gnome.org.

Havoc




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