aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/plugins_dlg.c
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2005-03-07 02:44:41 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2005-03-07 02:44:41 +0000
commit441119bf420bf0f70ec43028142ffb9e73e2f415 (patch)
treedcd76ab989f1e0ed41345f4fdf7564ad33622c83 /gtk/plugins_dlg.c
parenta2795ba504a8f80ce4a6b757cea92c4098157f7f (diff)
Call the "new-style init" routine for plugins a "register" routine, as
it serves the same purpose as the register routine in a built-in dissector, and don't require all dissectors to have one, as they might just be taps. Get rid of the stats tree's init routine, as it's just a tap, and as it doesn't do anything. Update the idl2eth Python script to generate plugins with register routines. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@13644 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'gtk/plugins_dlg.c')
-rw-r--r--gtk/plugins_dlg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/plugins_dlg.c b/gtk/plugins_dlg.c
index 4a2216d48c..536c891137 100644
--- a/gtk/plugins_dlg.c
+++ b/gtk/plugins_dlg.c
@@ -63,7 +63,7 @@ plugins_scan(GtkWidget *list)
{
type = g_string_new("");
sep = "";
- if (pt_plug->reg_handoff)
+ if (pt_plug->register_protoinfo)
{
type = g_string_append(type, sep);
type = g_string_append(type, "dissector");