In gtkeditable.c, the function gtk_editable_insert_text() calls
gtk_widget_ref (GTK_WIDGET (editable));
at the beginning of the function, and then at the end of the
function it calls
gtk_widget_unref (GTK_WIDGET (editable));
...to unref it. It also does this for gtk_editable_delete_text(),
but nowhere else.
Why does it do this? What is the point? I'm writing a new
subclass of GtkEditable and I want to know if I need to do the same thing
in my _insert and _delete functions...
Thanks,
Derek Simkowiak
[EMAIL PROTECTED]
--
To unsubscribe: mail -s unsubscribe [EMAIL PROTECTED] < /dev/null
- [gtk-list] Re: GtkHPaned bug? (1.2.7) Owen Taylor
- [gtk-list] Re: GtkHPaned bug? (1.2.7) Konrad Podloucky
- [gtk-list] Re: GtkHPaned bug? (1.2.7) Owen Taylor
- [gtk-list] Re: GtkHPaned bug? (1.2.7) Konrad Podloucky
- [gtk-list] Re: GtkHPaned bug? (1.2.7) Konrad Podloucky
- [gtk-list] Re: GtkHPaned bug? (1.2.7) Owen Taylor
- [gtk-list] Re: GtkHPaned bug? (1.2.... Konrad Podloucky
- [gtk-list] News from the trenches (... Konrad Podloucky
- [gtk-list] Re: News from the tr... Erik Mouw
- [gtk-list] Re: News from the tr... Konrad Podloucky
- [gtk-list] Re: News from the tr... Derek Simkowiak
- [gtk-list] Re: News from the tr... Erik Mouw
