summaryrefslogtreecommitdiff
path: root/render/html_object.c
diff options
context:
space:
mode:
authorDaniel Silverstone <dsilvers@digital-scurf.org>2014-01-05 17:03:17 +0000
committerDaniel Silverstone <dsilvers@digital-scurf.org>2014-01-05 17:03:17 +0000
commit9a9cb399f9fc5503cf64a906d44ec016564d06bb (patch)
tree3eafe6402d08b56ae7d616c79fdf5b9664bea8a4 /render/html_object.c
parent0d5960a68cc031758dd17edf7e83c342c13ea144 (diff)
parentef5c516ee372d29ca636fa0f7bd422c312be0acf (diff)
downloadnetsurf-9a9cb399f9fc5503cf64a906d44ec016564d06bb.tar.gz
netsurf-9a9cb399f9fc5503cf64a906d44ec016564d06bb.tar.bz2
Merge branch 'rjek/click-file-gadget'
Diffstat (limited to 'render/html_object.c')
-rw-r--r--render/html_object.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/render/html_object.c b/render/html_object.c
index 6cd08c1ef..e76919dd4 100644
--- a/render/html_object.c
+++ b/render/html_object.c
@@ -208,10 +208,6 @@ html_object_callback(hlcache_handle *object,
}
break;
- case CONTENT_MSG_REFORMAT:
- case CONTENT_MSG_REDIRECT:
- break;
-
case CONTENT_MSG_REDRAW:
if (c->base.status != CONTENT_STATUS_LOADING) {
union content_msg_data data = event->data;
@@ -377,6 +373,7 @@ html_object_callback(hlcache_handle *object,
case CONTENT_MSG_SAVELINK:
case CONTENT_MSG_POINTER:
+ case CONTENT_MSG_GADGETCLICK:
/* These messages are for browser window layer.
* we're not interested, so pass them on. */
content_broadcast(&c->base, event->type, event->data);
@@ -445,7 +442,7 @@ html_object_callback(hlcache_handle *object,
break;
default:
- assert(0);
+ break;
}
if (c->base.status == CONTENT_STATUS_READY && c->base.active == 0 &&