Trying to fix the bug found by Bill Meier:

I'm getting the following running Wireshark on Fedora Linux after a build from a recent SVN.

(lt-wireshark:8501): Gtk-CRITICAL **: gtk_toolbar_set_style: assertion 
`GTK_IS_TOOLBAR (toolbar)'

svn path=/trunk/; revision=30185
This commit is contained in:
Anders Broman 2009-09-28 18:58:26 +00:00
parent 10f169444f
commit ff7492d22d
1 changed files with 3 additions and 1 deletions

View File

@ -99,7 +99,9 @@ toolbar_redraw_all(void)
filter_tb = g_object_get_data(G_OBJECT(top_level), E_TB_FILTER_KEY);
gtk_toolbar_set_style(GTK_TOOLBAR(filter_tb),
/* In case the filter toolbar hasn't been built */
if(filter_tb)
gtk_toolbar_set_style(GTK_TOOLBAR(filter_tb),
prefs.gui_toolbar_filter_style);
}