summaryrefslogtreecommitdiff
path: root/framebuffer/gui.c
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2015-04-14 23:08:02 +0100
committerVincent Sanders <vince@kyllikki.org>2015-04-14 23:08:02 +0100
commitcc11912da1e2881803828330f85b0fe177b570b6 (patch)
tree3c75b3ab3858c2a29d86ec62959a62266edf682c /framebuffer/gui.c
parentc02f552e8704f52e1a9ab92b21cb7d23211d98ab (diff)
downloadnetsurf-cc11912da1e2881803828330f85b0fe177b570b6.tar.gz
netsurf-cc11912da1e2881803828330f85b0fe177b570b6.tar.bz2
Convert framebuffer frontend to bitmap operations table.
Diffstat (limited to 'framebuffer/gui.c')
-rw-r--r--framebuffer/gui.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/framebuffer/gui.c b/framebuffer/gui.c
index e178d28fb..56fe41bc4 100644
--- a/framebuffer/gui.c
+++ b/framebuffer/gui.c
@@ -54,6 +54,7 @@
#include "framebuffer/font.h"
#include "framebuffer/clipboard.h"
#include "framebuffer/fetch.h"
+#include "framebuffer/bitmap.h"
#include "content/urldb.h"
#include "content/fetch.h"
@@ -106,7 +107,7 @@ static struct gui_drag {
*/
static void die(const char *error)
{
- LOG(("%s", error));
+ fprintf(stderr, "%s\n", error);
exit(1);
}
@@ -2081,6 +2082,7 @@ main(int argc, char** argv)
.clipboard = framebuffer_clipboard_table,
.fetch = framebuffer_fetch_table,
.utf8 = framebuffer_utf8_table,
+ .bitmap = framebuffer_bitmap_table,
};
ret = netsurf_register(&framebuffer_table);