From ad825266b2554b6dd4ed12da94a93b638dc1e564 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Fri, 22 Sep 2017 03:00:36 -0400 Subject: main(): Enable favicons database That was easy to fix. --- (limited to 'src') diff --git a/src/main.c b/src/main.c index 447e724..7b297ce 100644 --- a/src/main.c +++ b/src/main.c @@ -26,6 +26,7 @@ #include #include +#include #include "window.h" @@ -81,6 +82,9 @@ main(int argc, char *argv[]) g_set_application_name("Marquee"); + webkit_web_context_set_favicon_database_directory( + webkit_web_context_get_default(), NULL); + mq_window_new(opt_uris); gtk_main(); diff --git a/src/tab.c b/src/tab.c index be3fa70..7681c40 100644 --- a/src/tab.c +++ b/src/tab.c @@ -210,7 +210,6 @@ mq_tab_new(gchar *uri) tab->chrome = mq_tab_chrome_new(uri); tab->body = mq_tab_body_new(uri); tab->web_view = mq_tab_body_get_web_view(tab->body); - /* FIXME: Doesn't work? */ g_signal_connect(tab->web_view, "notify::favicon", G_CALLBACK(favicon_cb), tab); g_signal_connect(tab->web_view, "notify::title", -- cgit v0.9.1