diff options
author | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2014-05-01 14:29:52 +0200 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2014-05-01 13:16:13 +0000 |
commit | 523fbe252effac044a5556cda20cc9ff1dea56fd (patch) | |
tree | a9e16940c41727f4f06d8c4ae06adf834b08ea90 /ui | |
parent | 583a47c06e2a27676a7b2e49af2ee89ea0f360c5 (diff) |
Unreachable code in ui/gtk/main.c
Unreachable code due to conflicting defines: checking for GTKOSXAPPLICATION inside _WIN32
Found by Edwin
Closed-bug: 10065
Change-Id: I074fa14069e859b3fc4b7f50c443a67e7f0e954b
Reviewed-on: https://code.wireshark.org/review/1456
Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'ui')
-rw-r--r-- | ui/gtk/main.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ui/gtk/main.c b/ui/gtk/main.c index 76bdd72314..56264fb305 100644 --- a/ui/gtk/main.c +++ b/ui/gtk/main.c @@ -3257,14 +3257,14 @@ main(int argc, char *argv[]) AirPDcapDestroyContext(&airpdcap_ctx); -#ifdef _WIN32 - /* hide the (unresponsive) main window, while asking the user to close the console window */ - gtk_widget_hide(top_level); - #ifdef HAVE_GTKOSXAPPLICATION g_object_unref(theApp); #endif +#ifdef _WIN32 + /* hide the (unresponsive) main window, while asking the user to close the console window */ + gtk_widget_hide(top_level); + software_update_cleanup(); /* Shutdown windows sockets */ |