RE: Small bug in gtknotebook.c




> Dave Cole <dave@dccs.com.au> writes:
> 
> > When trying a program of mine with gtk+-1.1.5, I encountered a
> > segfault in gtknotebook.c
> > 
> > I do not have CVS access, so could someone have a look at this patch,
> > then apply it if it is correct?
> 
> 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.


This also started happening (again) in Glade, as soon as themes was
merged into the main GTK code.

For the properties window I use a notebook without tabs to show the
properties for different widget classes. But if I pass NULL in as the
tab labels it SEGVs.

(Now I pass in empty labels and it is OK.)

Damon




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