Switch headers to webkit2
authorQuentin Rameau <quinq@fifth.space>
Wed, 18 Nov 2015 13:43:04 +0000 (14:43 +0100)
committerQuentin Rameau <quinq@fifth.space>
Wed, 18 Nov 2015 13:59:13 +0000 (14:59 +0100)
config.mk
surf.c

index db69b59..56cc343 100644 (file)
--- 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 (file)
--- 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>