Gitweb links:
...log
http://git.netsurf-browser.org/netsurf.git/shortlog/7de3100624bf77980e92f8e507a209dfe34a8309
...commit
http://git.netsurf-browser.org/netsurf.git/commit/7de3100624bf77980e92f8e507a209dfe34a8309
...tree
http://git.netsurf-browser.org/netsurf.git/tree/7de3100624bf77980e92f8e507a209dfe34a8309
The branch, master has been updated
via 7de3100624bf77980e92f8e507a209dfe34a8309 (commit)
from fca421e2047a55f3cf575c92943c1116ec58da3c (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commitdiff
http://git.netsurf-browser.org/netsurf.git/commit/?id=7de3100624bf77980e92f8e507a209dfe34a8309
commit 7de3100624bf77980e92f8e507a209dfe34a8309
Author: Vincent Sanders <[email protected]>
Commit: Vincent Sanders <[email protected]>
remove unecessary user warning
diff --git a/content/handlers/html/html_interaction.c
b/content/handlers/html/html_interaction.c
index 1eedf1b..330dd24 100644
--- a/content/handlers/html/html_interaction.c
+++ b/content/handlers/html/html_interaction.c
@@ -1101,7 +1101,7 @@ void html_mouse_action(struct content *c, struct
browser_window *bw,
}
if (res != NSERROR_OK) {
- guit->misc->warning(messages_get_errorcode(res), NULL);
+ NSLOG(netsurf, ERROR, "%s", messages_get_errorcode(res));
}
}
diff --git a/content/handlers/html/search.c b/content/handlers/html/search.c
index 3599951..1e2fa04 100644
--- a/content/handlers/html/search.c
+++ b/content/handlers/html/search.c
@@ -87,13 +87,11 @@ search_create_context(struct content *c, content_type type,
void *gui_data)
context = malloc(sizeof(struct search_context));
if (context == NULL) {
- guit->misc->warning("NoMemory", 0);
return NULL;
}
search_head = malloc(sizeof(struct list_entry));
if (search_head == NULL) {
- guit->misc->warning("NoMemory", 0);
free(context);
return NULL;
}
-----------------------------------------------------------------------
Summary of changes:
content/handlers/html/html_interaction.c | 2 +-
content/handlers/html/search.c | 2 --
2 files changed, 1 insertion(+), 3 deletions(-)
diff --git a/content/handlers/html/html_interaction.c
b/content/handlers/html/html_interaction.c
index 1eedf1b..330dd24 100644
--- a/content/handlers/html/html_interaction.c
+++ b/content/handlers/html/html_interaction.c
@@ -1101,7 +1101,7 @@ void html_mouse_action(struct content *c, struct
browser_window *bw,
}
if (res != NSERROR_OK) {
- guit->misc->warning(messages_get_errorcode(res), NULL);
+ NSLOG(netsurf, ERROR, "%s", messages_get_errorcode(res));
}
}
diff --git a/content/handlers/html/search.c b/content/handlers/html/search.c
index 3599951..1e2fa04 100644
--- a/content/handlers/html/search.c
+++ b/content/handlers/html/search.c
@@ -87,13 +87,11 @@ search_create_context(struct content *c, content_type type,
void *gui_data)
context = malloc(sizeof(struct search_context));
if (context == NULL) {
- guit->misc->warning("NoMemory", 0);
return NULL;
}
search_head = malloc(sizeof(struct list_entry));
if (search_head == NULL) {
- guit->misc->warning("NoMemory", 0);
free(context);
return NULL;
}
--
NetSurf Browser
_______________________________________________
netsurf-commits mailing list
[email protected]
http://listmaster.pepperfish.net/cgi-bin/mailman/listinfo/netsurf-commits-netsurf-browser.org