Re: gtk_text_buffer_new ref counts



Joshua N Pritikin <vishnu pobox com> writes:

Why does a freshly created GtkTextBuffer have a reference count of 2?  [current CVS]

Can the attached patch be applied?

Fixed, thanks.
                                        Owen

Fri Aug 24 12:02:08 2001  Owen Taylor  <otaylor redhat com>

        * gtk/gtktextbuffer.c (gtk_text_buffer_new): Remove
        a stray g_object_ref() left over from gtk_object_ref/sink.
        (Pointed out by Josh Pritikin.)






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