Re: [gtk-list] warnings in testgtk fileselection



On Thu, 22 Jan 1998, Dave Reed wrote:

> 
> Hi,
> 
> I installed version 0.99.3 and I get warnings when using the file
> selection dialog.  I don't know exactly what to call the widget - it's
> the one in the second row that shows all the parent directories of the
> current directory when you press it and allows you to select one of
> the directories.  This happens in a program I wrote and testgtk so it
> should be easy for anyone to reproduce.
> 
> It causes the following warning:
> 
> ** WARNING **: file gtkwidget.c: line 1677 (gtk_widget_event): 
> "widget != NULL"
>  
> I also got the following warning once:
> 
> ** WARNING **: file gtkmain.c: line 1112 (gtk_propagate_event):
> "widget != NULL"
> 
> The first warning I mentioned seems to occur every I select a
> directory from the lsit.

It happens because the widget is destroyed (the menu is recreated each
time you change directories), and gtk still tries to send it an event.  

Jay, I thought you had fixed that ?


	Ian



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