diff options
-rw-r--r-- | src/application.c | 4 | ||||
-rw-r--r-- | src/main.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/application.c b/src/application.c index 867d0fc..b46f58f 100644 --- a/src/application.c +++ b/src/application.c @@ -22,6 +22,7 @@ #include <stdlib.h> #include <gtk/gtk.h> +#include <webkit2/webkit2.h> #include "application.h" #include "window.h" @@ -35,6 +36,9 @@ mq_application_new(gchar __attribute__((unused)) *profile, application = malloc(sizeof(*application)); application->window_count = 0; + webkit_web_context_set_favicon_database_directory( + webkit_web_context_get_default(), NULL); + return application; } @@ -26,7 +26,6 @@ #include <stdlib.h> #include <gtk/gtk.h> -#include <webkit2/webkit2.h> #include "application.h" @@ -83,9 +82,6 @@ main(int argc, char *argv[]) g_set_application_name("Marquee"); - webkit_web_context_set_favicon_database_directory( - webkit_web_context_get_default(), NULL); - application = mq_application_new(opt_profile, opt_private); mq_application_add_window(application, opt_uris); |