aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/proto_help.c
diff options
context:
space:
mode:
authorjmayer <jmayer@f5534014-38df-0310-8fa8-9805f1628bb7>2011-07-18 12:40:40 +0000
committerjmayer <jmayer@f5534014-38df-0310-8fa8-9805f1628bb7>2011-07-18 12:40:40 +0000
commitc06e0807446bab87e4f4763144c5ed3c12994c36 (patch)
tree61cec34a976c54a0c00bce32b610d60c7553f753 /gtk/proto_help.c
parent870feb6a3a61a047c9ad5c8a3c8a3d2c9be5091c (diff)
Update STATUS.gtk3
Make linking with stubbed out proto_help functions really work. Add a comment to proto_help that its functionality will be lost once we make the ui-manager code default unless someone cares enough to fix it. Enable -DGTK_DISABLE_DEPRECATED iff building with ui-manager. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@38079 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'gtk/proto_help.c')
-rw-r--r--gtk/proto_help.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/gtk/proto_help.c b/gtk/proto_help.c
index edec84a025..1abfac9101 100644
--- a/gtk/proto_help.c
+++ b/gtk/proto_help.c
@@ -43,8 +43,17 @@
#include "gtk/proto_help.h"
+/* Right now proto_help will not build with -DGTK_DISABLE_DEPRECATED due to
+ its use of GtkItemFactory.
+ See http://developer.gnome.org/gtk/2.24/GtkItemFactory.html
+ This needs to be rewritten by the people who added this code or some other
+ volunteers. Otherwise this functionality will be lost once the UI_MANAGER
+ stuff becomes default.
+ */
#ifdef MAIN_MENU_USE_UIMANAGER
void proto_help_menu_modify(GtkTreeSelection *selection _U_, capture_file *cf _U_) {}
+void proto_help_menu_init(GtkWidget *widget _U_) {}
+void proto_help_init(void) {}
#else
#define PH_MENU_TOP "/Protocol Help"