diff options
author | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2013-07-27 14:14:26 +0100 |
---|---|---|
committer | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2013-07-27 14:14:26 +0100 |
commit | 17c4201fb80a283b2e64cc65948eeeb6ffb4b121 (patch) | |
tree | 70a9866928014f66d49410bffe72c51010bad539 /amiga/gui.c | |
parent | ff78c7cf2ee35d48786ae7b10a354315fe6476b7 (diff) | |
download | netsurf-17c4201fb80a283b2e64cc65948eeeb6ffb4b121.tar.gz netsurf-17c4201fb80a283b2e64cc65948eeeb6ffb4b121.tar.bz2 |
When receiving a "To Front" message, don't open a window if none are active.
Diffstat (limited to 'amiga/gui.c')
-rw-r--r-- | amiga/gui.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/amiga/gui.c b/amiga/gui.c index bbc42683e..2bcf21626 100644 --- a/amiga/gui.c +++ b/amiga/gui.c @@ -2478,24 +2478,6 @@ void ami_handle_applib(void) WindowToFront(curbw->window->shared->win); ActivateWindow(curbw->window->shared->win); } - else - { - error = nsurl_create(nsoption_charp(homepage_url), &url); - if (error == NSERROR_OK) { - error = browser_window_create(BROWSER_WINDOW_VERIFIABLE | - BROWSER_WINDOW_HISTORY, - url, - NULL, - NULL, - &bw); - nsurl_unref(url); - } - if (error != NSERROR_OK) { - warn_user(messages_get_errorcode(error), 0); - } - - - } break; case APPLIBMT_OpenPrefs: |