summaryrefslogtreecommitdiff
path: root/ui/ui_util.h
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2013-10-30 22:39:52 +0000
committerGerald Combs <gerald@wireshark.org>2013-10-30 22:39:52 +0000
commit9075922f42fb9a7c4209c96e21b9f9f7ab9c2bbd (patch)
treeba7b5e2109ca3bff1f169876f51857fa321480e7 /ui/ui_util.h
parentb84fee4fc7b96b9ccc39c1ce91fb553c7913da8d (diff)
downloadwireshark-9075922f42fb9a7c4209c96e21b9f9f7ab9c2bbd.tar.gz
Add initial support for geometry settings in the main window.
In the current Qt startup sequence the main window + splash screen is displayed before the main preferences are loaded which means we can't immediately apply the correct geometry. For now, use an animation to morph from the default to the saved geometry after the prefs are loaded. Get rid of main_do_quit() (Qt) and main_window_exit() (Qt+GTK). It looks like they were unused. Add wsApp->isInitialized() and use it to see if we should exit() when the main window is closed. Otherwise we won't shut the application down and clean up properly. svn path=/trunk/; revision=52988
Diffstat (limited to 'ui/ui_util.h')
-rw-r--r--ui/ui_util.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/ui/ui_util.h b/ui/ui_util.h
index d5449bdd92..3fcc2ff33b 100644
--- a/ui/ui_util.h
+++ b/ui/ui_util.h
@@ -49,8 +49,6 @@ typedef struct window_geometry_s {
/* update the main window */
extern void main_window_update(void);
-/* exit the main window */
-extern void main_window_exit(void);
/* quit a nested main window */
extern void main_window_nested_quit(void);
/* quit the main window */