diff options
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | src/uzbl-core.c | 3 |
2 files changed, 3 insertions, 2 deletions
@@ -10,7 +10,7 @@ RUN_PREFIX?=$(PREFIX) USE_GTK3 = $(shell pkg-config --exists gtk+-3.0 webkitgtk-3.0 && echo 1) ifeq ($(USE_GTK3),1) - REQ_PKGS += gtk+-3.0 webkitgtk-3.0 + REQ_PKGS += gtk+-3.0 webkitgtk-3.0 javascriptcoregtk-3.0 CPPFLAGS = -DG_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED else REQ_PKGS += gtk+-2.0 webkit-1.0 diff --git a/src/uzbl-core.c b/src/uzbl-core.c index f90c5dd..c3bc2dd 100644 --- a/src/uzbl-core.c +++ b/src/uzbl-core.c @@ -962,9 +962,10 @@ initialize(int argc, char** argv) { if (uzbl.state.socket_id || uzbl.state.embed) uzbl.state.plug_mode = TRUE; +#if !GLIB_CHECK_VERSION(2, 31, 0) if (!g_thread_supported()) g_thread_init(NULL); - +#endif /* TODO: move the handler setup to event_buffer_timeout and disarm the * handler in empty_event_buffer? */ |