diff options
author | Vincent Sanders <vince@kyllikki.org> | 2016-04-15 22:50:28 +0100 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2016-04-16 23:50:21 +0100 |
commit | 33c7df0c40023cb1b0c17084680a21ee8e0229ea (patch) | |
tree | 2d3f4165be1dfb4c072ab8230dc7a5ea517bbdef /render | |
parent | 7b78985983216e940415a8bb8711e3e8b55f54b0 (diff) | |
download | netsurf-33c7df0c40023cb1b0c17084680a21ee8e0229ea.tar.gz netsurf-33c7df0c40023cb1b0c17084680a21ee8e0229ea.tar.bz2 |
complete the rename of the gui browser table
When the operations tables were created the browser table was renamed
to miscellaneous except the actual rename patch was never applied,
this fixes that situation.
Diffstat (limited to 'render')
-rw-r--r-- | render/box_construct.c | 4 | ||||
-rw-r--r-- | render/html_css.c | 6 | ||||
-rw-r--r-- | render/html_object.c | 6 |
3 files changed, 8 insertions, 8 deletions
diff --git a/render/box_construct.c b/render/box_construct.c index adb450946..23d41203f 100644 --- a/render/box_construct.c +++ b/render/box_construct.c @@ -187,7 +187,7 @@ nserror dom_to_box(dom_node *n, html_content *c, box_construct_complete_cb cb) ctx->cb = cb; ctx->bctx = c->bctx; - return guit->browser->schedule(0, (void *)convert_xml_to_box, ctx); + return guit->misc->schedule(0, (void *)convert_xml_to_box, ctx); } /* mapping from CSS display to box type @@ -448,7 +448,7 @@ void convert_xml_to_box(struct box_construct_ctx *ctx) } while (++num_processed < max_processed_before_yield); /* More work to do: schedule a continuation */ - guit->browser->schedule(0, (void *)convert_xml_to_box, ctx); + guit->misc->schedule(0, (void *)convert_xml_to_box, ctx); } /** diff --git a/render/html_css.c b/render/html_css.c index a90ea6323..6761a6502 100644 --- a/render/html_css.c +++ b/render/html_css.c @@ -292,7 +292,7 @@ static void html_css_process_modified_styles(void *pw) /* If we failed to process any sheet, schedule a retry */ if (all_done == false) { - guit->browser->schedule(1000, html_css_process_modified_styles, c); + guit->misc->schedule(1000, html_css_process_modified_styles, c); } } @@ -316,7 +316,7 @@ bool html_css_update_style(html_content *c, dom_node *style) s->modified = true; - guit->browser->schedule(0, html_css_process_modified_styles, c); + guit->misc->schedule(0, html_css_process_modified_styles, c); return true; } @@ -445,7 +445,7 @@ nserror html_css_free_stylesheets(html_content *html) { unsigned int i; - guit->browser->schedule(-1, html_css_process_modified_styles, html); + guit->misc->schedule(-1, html_css_process_modified_styles, html); for (i = 0; i != html->stylesheet_count; i++) { if (html->stylesheets[i].sheet != NULL) { diff --git a/render/html_object.c b/render/html_object.c index 933950ec3..e30b3ab09 100644 --- a/render/html_object.c +++ b/render/html_object.c @@ -322,7 +322,7 @@ html_object_callback(hlcache_handle *object, case CONTENT_MSG_REFRESH: if (content_get_type(object) == CONTENT_HTML) { /* only for HTML objects */ - guit->browser->schedule(event->data.delay * 1000, + guit->misc->schedule(event->data.delay * 1000, html_object_refresh, o); } @@ -619,7 +619,7 @@ nserror html_object_close_objects(html_content *html) continue; if (content_get_type(object->content) == CONTENT_HTML) { - guit->browser->schedule(-1, html_object_refresh, object); + guit->misc->schedule(-1, html_object_refresh, object); } content_close(object->content); @@ -636,7 +636,7 @@ nserror html_object_free_objects(html_content *html) LOG("object %p", victim->content); if (content_get_type(victim->content) == CONTENT_HTML) { - guit->browser->schedule(-1, html_object_refresh, victim); + guit->misc->schedule(-1, html_object_refresh, victim); } hlcache_handle_release(victim->content); } |