diff options
author | Patrick McDermott <pj@pehjota.net> | 2017-09-22 03:00:36 (EDT) |
---|---|---|
committer | Patrick McDermott <pj@pehjota.net> | 2017-09-22 03:03:06 (EDT) |
commit | ad825266b2554b6dd4ed12da94a93b638dc1e564 (patch) | |
tree | a7daef0d1d719652bd8804904dc1bb8d59c65003 /src | |
parent | fd1f91d34176b15755a712de3d90923856964de2 (diff) | |
download | marquee-ad825266b2554b6dd4ed12da94a93b638dc1e564.zip marquee-ad825266b2554b6dd4ed12da94a93b638dc1e564.tar.gz marquee-ad825266b2554b6dd4ed12da94a93b638dc1e564.tar.bz2 |
main(): Enable favicons database
That was easy to fix.
Diffstat (limited to 'src')
-rw-r--r-- | src/main.c | 4 | ||||
-rw-r--r-- | src/tab.c | 1 |
2 files changed, 4 insertions, 1 deletions
@@ -26,6 +26,7 @@ #include <stdlib.h> #include <gtk/gtk.h> +#include <webkit2/webkit2.h> #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(); @@ -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", |