Since ethereal is now dependent on GTK+-1.2.x (because of proto_tree and
[obnox/wireshark/wip.git] / ethereal.h
index 5849e8960154c29e163a881ee69c876df4e1fda4..f1c739e5ad64f19377806080d346500919458f99 100644 (file)
@@ -1,7 +1,7 @@
 /* ethereal.h
  * Global defines, etc.
  *
- * $Id: ethereal.h,v 1.16 1999/07/13 02:52:49 gram Exp $
+ * $Id: ethereal.h,v 1.17 1999/07/13 03:08:04 gram Exp $
  *
  * Ethereal - Network traffic analyzer
  * By Gerald Combs <gerald@zing.org>
   #define MIN(x, y) ((x) < (y) ? (x) : (y))
 #endif
 
-/* Determine whether we use menu factories or item factories. This
- * code snippet is taken from cheops.h of cheops-0.57, a GPL'ed
- * network utility program Copyright (C) 1998, Mark Spencer
- */
-#if (GTK_MINOR_VERSION > 1) || ((GTK_MICRO_VERSION > 1) &&  (GTK_MINOR_VERSION > 0))
-       #define USE_ITEM
-       #define GTK_MENU_FUNC(a) ((GtkItemFactoryCallback)(a))
-#else
-       #undef USE_ITEM
-       typedef void (*_GTK_MENU_FUNC_T)(GtkWidget *, void *);
-       #define GTK_MENU_FUNC(a) ((_GTK_MENU_FUNC_T)(a))
-#endif
-
     
 typedef struct _selection_info {
   GtkWidget *tree;