From f37e52c39475e6efd3740c5ae1ec4f290662928f Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Mon, 13 Apr 2015 23:19:04 +0100 Subject: Move bitmap operations into an operation table. The generic bitmap handlers provided by each frontend are called back from the core and therefore should be in an operation table. This was one of the very few remaining interfaces stopping the core code from being split into a library. --- content/content.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'content/content.c') diff --git a/content/content.c b/content/content.c index a27647bd3..a6ca97817 100644 --- a/content/content.c +++ b/content/content.c @@ -34,6 +34,7 @@ #include "content/hlcache.h" #include "image/bitmap.h" #include "desktop/browser.h" +#include "desktop/gui_internal.h" #include "utils/nsoption.h" #include "utils/http.h" @@ -1243,7 +1244,7 @@ bool content__get_opaque(struct content *c) struct bitmap *bitmap = NULL; bitmap = c->handler->get_internal(c, NULL); if (bitmap != NULL) { - opaque = bitmap_get_opaque(bitmap); + opaque = guit->bitmap->get_opaque(bitmap); } } -- cgit v1.2.3