ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

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

From: "Anders Broman" <a.broman@xxxxxxxxx>
Date: Tue, 22 Sep 2009 21:37:49 +0200
Hi,
I checked in a potential fix in revision 30077 if that does not work
We need to know what long_str is.
Regards
Anders

-----Ursprungligt meddelande-----
Från: wireshark-dev-bounces@xxxxxxxxxxxxx
[mailto:wireshark-dev-bounces@xxxxxxxxxxxxx] För Stephen Fisher
Skickat: den 21 september 2009 22:24
Till: Developer support list for Wireshark
Ämne: Re: [Wireshark-dev] gtk_tree_view_column_set_fixed_width:
assertion`fixed_width > 0


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

___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev@xxxxxxxxxxxxx>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request@xxxxxxxxxxxxx?subject=unsubscribe