diff options
author | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2014-11-16 14:06:12 +0000 |
---|---|---|
committer | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2014-11-16 14:06:12 +0000 |
commit | e75cdeeefd501bf10bed2cc8df9efae2431824ec (patch) | |
tree | a8d14b05f322b33f1635b5703d478579b16d67f7 /amiga/gui.c | |
parent | 1deb36759bfaa70cf930ac8017aad49a990f06d4 (diff) | |
download | netsurf-e75cdeeefd501bf10bed2cc8df9efae2431824ec.tar.gz netsurf-e75cdeeefd501bf10bed2cc8df9efae2431824ec.tar.bz2 |
Don't make the app id a global var
Diffstat (limited to 'amiga/gui.c')
-rw-r--r-- | amiga/gui.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/amiga/gui.c b/amiga/gui.c index 5bdee8649..dc9df9ed1 100644 --- a/amiga/gui.c +++ b/amiga/gui.c @@ -178,6 +178,7 @@ ULONG sz_gad_height = 0; struct MsgPort *applibport = NULL; ULONG applibsig = 0; +uint32 ami_appid = 0; struct Hook newprefs_hook; STRPTR temp_homepage_url = NULL; @@ -5233,6 +5234,12 @@ static void gui_file_gadget_open(struct gui_window *g, hlcache_handle *hl, } } +/* exported function documented in amiga/gui.h */ +uint32 ami_gui_get_app_id(void) +{ + return ami_appid; +} + static struct gui_window_table amiga_window_table = { .create = gui_window_create, .destroy = gui_window_destroy, |