diff options
author | Vincent Sanders <vince@kyllikki.org> | 2016-04-27 22:41:59 +0100 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2016-04-27 22:41:59 +0100 |
commit | e44bd09ac3a28823d9947c54949d115619003fe4 (patch) | |
tree | 66e3efcd35046d44c161fddabf5f7cb880b16424 /windows/about.c | |
parent | 68938664411ac2ee82e39e11fe855a6cd1b32c7c (diff) | |
download | netsurf-e44bd09ac3a28823d9947c54949d115619003fe4.tar.gz netsurf-e44bd09ac3a28823d9947c54949d115619003fe4.tar.bz2 |
update windows frontend to not use depricated warn_user API
Diffstat (limited to 'windows/about.c')
-rw-r--r-- | windows/about.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/windows/about.c b/windows/about.c index 686d350f0..4716a5c91 100644 --- a/windows/about.c +++ b/windows/about.c @@ -27,11 +27,12 @@ #include <windows.h> +#include "utils/log.h" #include "utils/utils.h" #include "utils/messages.h" #include "desktop/version.h" -#include "utils/log.h" +#include "windows/gui.h" #include "windows/window.h" #include "windows/about.h" #include "windows/resourceid.h" @@ -144,7 +145,7 @@ void nsws_about_dialog_init(HINSTANCE hinst, HWND parent) int ret = DialogBox(hinst, MAKEINTRESOURCE(IDD_DLG_ABOUT), parent, nsws_about_event_callback); if (ret == -1) { - warn_user(messages_get("NoMemory"), 0); + win32_warning(messages_get("NoMemory"), 0); return; } } |