Fedora 11/Gtk2.16.6: Get two Gtk-Critical messages each time a capture fie is opened:
(lt-wireshark:15705): Gtk-CRITICAL **: gtk_tree_view_column_set_fixed_width: assertion `fixed_width > 0' failed
gtk_tree_view_column_set_fixed_width is incompatible with variable width columns.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29989
f5534014-38df-0310-8fa8-
9805f1628bb7
/* Set the size the column will be displayed with */
col_width = recent_get_column_width(i);
- if(col_width == -1) {
+ if(col_width < 0) {
layout = gtk_widget_create_pango_layout(packetlist->view, get_column_width_string(get_column_format(i), i));
pango_layout_get_pixel_size(layout, &col_width, NULL);
gtk_tree_view_column_set_fixed_width(col, col_width);