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:
parent
10f169444f
commit
ff7492d22d
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue