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 /menu.h | |
parent | 601c52f0fb7d36599045e90a6baafe918997f644 (diff) |
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 'menu.h')
-rw-r--r-- | menu.h | 7 |
1 files changed, 2 insertions, 5 deletions
@@ -1,7 +1,7 @@ /* menu.h * Menu definitions * - * $Id: menu.h,v 1.4 1998/12/17 05:42:27 gram Exp $ + * $Id: menu.h,v 1.5 1999/07/13 03:08:06 gram Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@zing.org> @@ -30,14 +30,11 @@ extern "C" { #endif /* __cplusplus */ +#define GTK_MENU_FUNC(a) ((GtkItemFactoryCallback)(a)) void menus_init(void); -#ifdef GTK_HAVE_FEATURES_1_1_0 void get_main_menu (GtkWidget **, GtkAccelGroup **); -#else -void get_main_menu (GtkWidget **, GtkAcceleratorTable **); -#endif void set_menu_sensitivity (gchar *, gint); void set_menu_object_data (gchar *path, gchar *key, gpointer data); void menus_create (GtkMenuEntry *, int); |