Wireshark-bugs: [Wireshark-bugs] [Bug 8468] GTK3: Interface List dialog does not expand properly

Date: Thu, 14 Mar 2013 22:24:35 +0000

Comment # 4 on bug 8468 from
On a whim I flipped these two around in capture_if_dlg.c:capture_if_cb(), like
so:

  window_present(cap_if_w);

  capture_if_refresh_if_list();

Now the window pops up with the correct height and then expands to the right
when filled with the entries.

Could we make that work in one go, first populate than show with the correct
size that is.

Therefore I flipped this conditional at the end of
capture_if_refresh_if_list(), like so

  if (!cap_if_w) {
    gtk_window_get_size(GTK_WINDOW(cap_if_w), &curr_width, &curr_height);

This works perfectly for me.

I wonder, what is it intended to do anyway? Why would you want to call a GTK
function on a NULL gtk window handle??? 

Can someone try this flipped conditional on their !(Debian GNU/Linux testing /
KDE) platform to see if it breaks on GTK2 / GTK3 for them?


You are receiving this mail because:
  • You are watching all bug changes.