Wireshark-dev: Re: [Wireshark-dev] gtk_tree_view_column_set_fixed_width: assertion `fixed_width

From: Stephen Fisher <steve@xxxxxxxxxxxxxxxxxx>
Date: Mon, 21 Sep 2009 14:24:14 -0600

On Sep 21, 2009, at 12:00 PM, Anders Broman wrote:

I thought the g_warning printout would give the answer but obviously not. If the other code path is taken
What’s the value of col_width?

The code you posted was where one of the two warnings came from as of yesterday when I tried it. Now I only get one warning from the code in new_packet_list_resize_column():

(wireshark:35705): Gtk-CRITICAL **: gtk_tree_view_column_set_fixed_width: assertion `fixed_width > 0' failed

When I threw in a g_warning() to print the value of col_width, it is 0.


Steve