summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorQuentin Rameau <quinq@fifth.space>2015-11-18 14:43:04 +0100
committerQuentin Rameau <quinq@fifth.space>2015-11-18 14:59:13 +0100
commitabcf5f06ed5ab6dbd6934df8d2d4556521dd7b8e (patch)
tree433ba74f103fa5e4042dd16cf43b0a1e54b50c81
parent566b452b46a171a4426256cdb02704ae8351a2b3 (diff)
downloadsurf-abcf5f06ed5ab6dbd6934df8d2d4556521dd7b8e.tar.gz
surf-abcf5f06ed5ab6dbd6934df8d2d4556521dd7b8e.tar.bz2
surf-abcf5f06ed5ab6dbd6934df8d2d4556521dd7b8e.zip
Switch headers to webkit2
-rw-r--r--config.mk4
-rw-r--r--surf.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/config.mk b/config.mk
index db69b59..56cc343 100644
--- a/config.mk
+++ b/config.mk
@@ -10,8 +10,8 @@ MANPREFIX = ${PREFIX}/share/man
X11INC = /usr/X11R6/include
X11LIB = /usr/X11R6/lib
-GTKINC = `pkg-config --cflags gtk+-3.0 webkitgtk-3.0`
-GTKLIB = `pkg-config --libs gtk+-3.0 webkitgtk-3.0`
+GTKINC = `pkg-config --cflags gtk+-3.0 webkit2gtk-4.0`
+GTKLIB = `pkg-config --libs gtk+-3.0 webkit2gtk-4.0`
# includes and libs
INCS = -I. -I/usr/include -I${X11INC} ${GTKINC}
diff --git a/surf.c b/surf.c
index 0d7037a..d36a5a5 100644
--- a/surf.c
+++ b/surf.c
@@ -17,7 +17,7 @@
#include <limits.h>
#include <stdlib.h>
#include <stdio.h>
-#include <webkit/webkit.h>
+#include <webkit2/webkit2.h>
#include <glib/gstdio.h>
#include <JavaScriptCore/JavaScript.h>
#include <sys/file.h>