diff options
author | Gilbert Ramirez <gram@alumni.rice.edu> | 1999-07-13 03:08:06 +0000 |
---|---|---|
committer | Gilbert Ramirez <gram@alumni.rice.edu> | 1999-07-13 03:08:06 +0000 |
commit | 57e49071ef1da141b01312163bd9afeaddcb4c2f (patch) | |
tree | 7fb6f84d48629d0d313933df47676f574f35c2ed /ethereal.h | |
parent | 601c52f0fb7d36599045e90a6baafe918997f644 (diff) | |
download | wireshark-57e49071ef1da141b01312163bd9afeaddcb4c2f.tar.gz wireshark-57e49071ef1da141b01312163bd9afeaddcb4c2f.tar.bz2 wireshark-57e49071ef1da141b01312163bd9afeaddcb4c2f.zip |
Since ethereal is now dependent on GTK+-1.2.x (because of proto_tree and
display filter code, which uses features in GLIB-1.2.x), I removed
the vestigial code supporting old 1.0.x and 1.1.x GTK+ versions.
svn path=/trunk/; revision=360
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; |