diff options
Diffstat (limited to 'ethereal.h')
-rw-r--r-- | ethereal.h | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/ethereal.h b/ethereal.h index 5849e89601..f1c739e5ad 100644 --- a/ethereal.h +++ b/ethereal.h @@ -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> @@ -73,19 +73,6 @@ #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; |