diff options
author | Gerald Combs <gerald@wireshark.org> | 2013-01-18 00:59:47 +0000 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2013-01-18 00:59:47 +0000 |
commit | 7f70a5e438a0ff90d83693b5d05fb3ed98945a95 (patch) | |
tree | ac59b85f121ffcab2cab4e3994a31dfecaa57e07 /ui | |
parent | ae7ee61e842f46d0e7a7a4dc64c848866a6d7afb (diff) |
Fix compilation on Windows.
svn path=/trunk/; revision=47140
Diffstat (limited to 'ui')
-rw-r--r-- | ui/gtk/prefs_dlg.c | 8 | ||||
-rw-r--r-- | ui/preference_utils.c | 8 |
2 files changed, 8 insertions, 8 deletions
diff --git a/ui/gtk/prefs_dlg.c b/ui/gtk/prefs_dlg.c index 2cb781c901..9a6a2080eb 100644 --- a/ui/gtk/prefs_dlg.c +++ b/ui/gtk/prefs_dlg.c @@ -1379,6 +1379,14 @@ prefs_main_ok_cb(GtkWidget *ok_bt _U_, gpointer parent_w) prefs_main_write(); } +#ifdef HAVE_AIRPCAP + /* + * Load the Wireshark decryption keys (just set) and save + * the changes to the adapters' registry + */ + airpcap_load_decryption_keys(airpcap_if_list); +#endif + prefs_main_apply_all(parent_w, must_redissect); /* Fill in capture options with values from the preferences */ diff --git a/ui/preference_utils.c b/ui/preference_utils.c index faf6b6d3e9..d2a806f154 100644 --- a/ui/preference_utils.c +++ b/ui/preference_utils.c @@ -271,14 +271,6 @@ prefs_main_write(void) g_free(pf_path); } } - -#ifdef HAVE_AIRPCAP - /* - * Load the Wireshark decryption keys (just set) and save - * the changes to the adapters' registry - */ - airpcap_load_decryption_keys(airpcap_if_list); -#endif } /* |