Jim Young schrieb:
> Attached patch (to SVN 25119) stops these particular 
> messages during startup of Wireshark on my system.
>
> In my case it's the first call to gtk/main_welcome.c's 
> main_welcome_reset_recent_capture_files() that triggers 
> the error messages.  Specifically it's the call to 
> get_container_get_children(welcome_file_panel_vb).  
>
> This error seems to be triggered because the variable
> welcome_file_panel_vb was NULL at this time.   
>
> The attached patch simply tests for a non-NULL 
> welcome_file_panel_vb before attempting to get the 
> child_list.
>
> Is this the proper fix, or should welcome_file_panel_vb 
> have actually had a non-NULL value by the time
> main_welcome_reset_recent_capture_files() is first 
> called?
>
> Hope this helps.
>   
Thanks!

At least this should remove the GTK output Stig and you see. Maybe this 
is caused by different GTK versions, as I don't see this output. Just 
out of interest, what GTK version are you using (under Help/About)?

I've tried to commit the patch, but Gerald currently seems to have the 
SVN server down for maintenance. I'll try it later again ...

Regards, ULFL
_______________________________________________
Wireshark-dev mailing list
Wireshark-dev@wireshark.org
http://www.wireshark.org/mailman/listinfo/wireshark-dev

Reply via email to