Wireshark-dev: [Wireshark-dev] Unusual test in capture_dlg.c

From: Joerg Mayer <jmayer@xxxxxxxxx>
Date: Sat, 6 Aug 2011 12:13:43 +0200
Hello,

I have some questions regarding the following code inside the function
select_if_type_cb:

#if GTK_CHECK_VERSION(2,6,0)
      if (new_iftype == num_remote + 4)
#else
      if (new_iftype == num_remote + 2)
#endif

What's the idea behind it? Is the version of 2.6.0 correct? If so, this
check can be removed as we require at least version 2.12 to build at all.

Thanks
    Joerg

-- 
Joerg Mayer                                           <jmayer@xxxxxxxxx>
We are stuck with technology when what we really want is just stuff that
works. Some say that should read Microsoft instead of technology.