Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-dev: Re: [Wireshark-dev] [Wireshark-commits] rev 38112: /trunk/gtk/ /trunk/gtk/: menu

From: Martin Mathieson <martin.r.mathieson@xxxxxxxxxxxxxx>
Date: Tue, 19 Jul 2011 17:53:40 +0100
Also, gtk_table_get_size() was only introduced in gtk 2.22
Martin

2011/7/19 Stig Bjørlykke <stig@xxxxxxxxxxxxx>
On Tue, Jul 19, 2011 at 5:13 PM,  <jmayer@xxxxxxxxxxxxx> wrote:
> Log:
>  Fix access to the following stuctures:
>  GtkCheckMenuItem
>  GtkTable
>  GtkTreeViewColumn

Did you test all this changes?

The changes in profile_dlg.c, uat_gui.c and new_packet_list.c does not
work.  The tooltip is not displayed, and it's not possible to get the
context menu from a column header in the packet list.

I get this warnings:
(wireshark:48943): Gtk-CRITICAL **: gtk_widget_set_tooltip_text:
assertion `GTK_IS_WIDGET (widget)' failed
(wireshark:48943): GLib-GObject-WARNING **: invalid (NULL) pointer instance
(wireshark:48943): GLib-GObject-CRITICAL **: g_signal_connect_data:
assertion `G_TYPE_CHECK_INSTANCE (instance)' failed

I guess gtk_tree_view_column_get_widget() does not return
column->button, which is the widget we use.


--
Stig Bjørlykke
___________________________________________________________________________
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