/* 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;