aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/main.h
diff options
context:
space:
mode:
authorUlf Lamping <ulf.lamping@web.de>2004-12-29 09:09:35 +0000
committerUlf Lamping <ulf.lamping@web.de>2004-12-29 09:09:35 +0000
commit2ed93e96bd6c630a9171ea5d5217098fbfa76746 (patch)
treede1cdbec9c926a405377e4e9006c3bfcd8d5161b /gtk/main.h
parentf1deabed568a18c05afdca5f4898fc9e13f71e91 (diff)
Don't use a global capture_opts in the capturing engine (this isn't a good idea). Do some more "housekeeping" in the capturing part.
Hopefully the unspecified forward declaration of capture_options_t in main.h is portable, but buildbot will tell me. This way I need the internals of that struct only at the places I really use it. svn path=/trunk/; revision=12853
Diffstat (limited to 'gtk/main.h')
-rw-r--r--gtk/main.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gtk/main.h b/gtk/main.h
index a84ea22e8d..f77da78c6b 100644
--- a/gtk/main.h
+++ b/gtk/main.h
@@ -57,6 +57,9 @@
* @ingroup windows_group
*/
+/** Global capture options. */
+typedef struct capture_options_tag * p_capture_options_t;
+extern p_capture_options_t capture_opts;
/** User requested "Zoom In" by menu or toolbar.
*