We're not using our own clist for GTK+ 2.x, so call
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Thu, 2 Dec 2004 07:53:59 +0000 (07:53 +0000)
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Thu, 2 Dec 2004 07:53:59 +0000 (07:53 +0000)
"init_eth_clist_type()" only for GTK+ 1.2[.x].

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@12654 f5534014-38df-0310-8fa8-9805f1628bb7

gtk/main.c

index 9a05186b4f2126f52c20f526f67861d18ecd5ad3..9cd1fce2db7493c63f36b5a63b1e6a2b114360e9 100644 (file)
@@ -1591,9 +1591,11 @@ main(int argc, char *argv[])
 
   /* Let GTK get its args */
   gtk_init (&argc, &argv);
+
+#if GTK_MAJOR_VERSION < 2
   /* initialize our GTK eth_clist_type */
   init_eth_clist_type();
-
+#endif
 
   ethereal_path = argv[0];