summaryrefslogtreecommitdiff
path: root/content
diff options
context:
space:
mode:
authorJames Bursa <james@netsurf-browser.org>2007-08-07 03:55:18 +0000
committerJames Bursa <james@netsurf-browser.org>2007-08-07 03:55:18 +0000
commit07c54283e364bd66e21fbd659ea0dd469201a747 (patch)
tree17bcc30ded5b29d3c2c769ef9933228168aa69f1 /content
parent7ec7ba37dbeeee678ec573bcfe0594660fbe5195 (diff)
downloadnetsurf-07c54283e364bd66e21fbd659ea0dd469201a747.tar.gz
netsurf-07c54283e364bd66e21fbd659ea0dd469201a747.tar.bz2
Move window scaling from platform-specific code to desktop/browser.c. Modify gtk gui to handle scaling in the same way as RO.
svn path=/trunk/netsurf/; revision=3478
Diffstat (limited to 'content')
-rw-r--r--content/content.c3
-rw-r--r--content/content.h2
2 files changed, 3 insertions, 2 deletions
diff --git a/content/content.c b/content/content.c
index 6a87880b9..78ea76b54 100644
--- a/content/content.c
+++ b/content/content.c
@@ -513,7 +513,8 @@ struct content * content_get_ready(const char *url)
* \param c content to check
* \return whether the content can reformat
*/
-bool content_get_reformat(struct content *c) {
+bool content_can_reformat(struct content *c)
+{
return (handler_map[c->type].reformat != NULL);
}
diff --git a/content/content.h b/content/content.h
index 57334fba5..0335c96c8 100644
--- a/content/content.h
+++ b/content/content.h
@@ -237,7 +237,7 @@ content_type content_lookup(const char *mime_type);
struct content * content_create(const char *url);
struct content * content_get(const char *url);
struct content * content_get_ready(const char *url);
-bool content_get_reformat(struct content *c);
+bool content_can_reformat(struct content *c);
bool content_set_type(struct content *c, content_type type,
const char *mime_type, const char *params[]);
void content_set_status(struct content *c, const char *status_message, ...);