remove some old left-over code - surf-adblock - Surf adblock web extension | |
git clone git://git.codemadness.org/surf-adblock | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit d49dbcc0f7518f323673c0eff10ff5cbf6ce06f7 | |
parent 888e9c8a2237bf9c374e04737f103e91cdc30267 | |
Author: Hiltjo Posthuma <[email protected]> | |
Date: Thu, 14 Jul 2016 22:27:15 +0200 | |
remove some old left-over code | |
Diffstat: | |
M config.mk | 4 ++-- | |
M surf-adblock.c | 1 - | |
2 files changed, 2 insertions(+), 3 deletions(-) | |
--- | |
diff --git a/config.mk b/config.mk | |
@@ -23,9 +23,9 @@ LIBS = -L/usr/lib -lc -L${X11LIB} -lX11 ${GTKLIB} -lgthread-2… | |
CPPFLAGS = -DVERSION=\"${VERSION}\" -DWEBEXTDIR=\"${LIBPREFIX}\" -D_DEFAULT_SO… | |
CFLAGS = -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS} | |
LDFLAGS = -s ${LIBS} | |
-LIBCPPFLAGS = -DWEBEXTDIR=\"${LIBPREFIX}\" -DWEBKIT_DOM_USE_UNSTABLE_API | |
+LIBCPPFLAGS = -DWEBEXTDIR=\"${LIBPREFIX}\" | |
LIBCFLAGS = -std=c99 -pedantic -Wall -Os ${WEBEXTINC} ${LIBCPPFLAGS} | |
-LIBLDFLAGS = -s ${WEBEXTLIB} -module -avoid-version -no-undefined | |
+LIBLDFLAGS = -s ${WEBEXTLIB} -avoid-version | |
# compiler and linker | |
CC = cc | |
diff --git a/surf-adblock.c b/surf-adblock.c | |
@@ -13,7 +13,6 @@ | |
#include <webkit2/webkit-web-extension.h> | |
#include <webkitdom/webkitdom.h> | |
-#include <webkitdom/WebKitDOMDOMWindowUnstable.h> | |
typedef struct Page { | |
guint64 id; |