aboutsummaryrefslogtreecommitdiffstats
path: root/ui/gtk/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'ui/gtk/main.c')
-rw-r--r--ui/gtk/main.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/ui/gtk/main.c b/ui/gtk/main.c
index 041428099d..4cb793f775 100644
--- a/ui/gtk/main.c
+++ b/ui/gtk/main.c
@@ -2287,12 +2287,11 @@ main(int argc, char *argv[])
g_free(init_progfile_dir_error);
}
- init_open_routines();
+ wtap_init();
#ifdef HAVE_PLUGINS
/* Register all the plugin types we have. */
epan_register_plugin_types(); /* Types known to libwireshark */
- wtap_register_plugin_types(); /* Types known to libwiretap */
codec_register_plugin_types(); /* Types known to libwscodecs */
/* Scan for plugins. This does *not* call their registration routines;