Re: Small bug in gtknotebook.c



>>>>> "Lars" == Lars Hamann <lars@gtk.org> writes:

Lars> On Thu, Nov 26, 1998 at 12:27:25PM -0500, Owen Taylor wrote:
>> Do you have example code that triggers the problem, or an an
>> explaination of how it is triggered?
>> 
>> Patches that "randomly" add in != NULL checks always make me a bit
>> nervous, because it isn't clear that they aren't just glossing over
>> the real problem.

Lars> I think the bug occured because two checks on
Lars> notebook->show_tabs == TRUE were missing (tab_labels will be !=
Lars> NULL then). So it should be fixed now.  (hopefully ;)

Yeah, what he said.

I forgot to say that I had done

    gtk_notebook_set_show_tabs(GTK_NOTEBOOK(notebook), FALSE);

in my program.

- Dave

-- 
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCS dpu s-:+ a C++$ ULS++$ P+++$>++++ L++>+++$ E+>++ W N++ !o K w++$ O !M-
!V(-) PS+ PE- Y+ PGP !t-- 5++ X R tv b+ DI+++ D G e++ h--- r+++ y++++
------END GEEK CODE BLOCK------



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