Lines 17-24
Link Here
|
17 |
#include "sokoke.h" |
17 |
#include "sokoke.h" |
18 |
|
18 |
|
19 |
#include <glib/gi18n-lib.h> |
19 |
#include <glib/gi18n-lib.h> |
20 |
#include <libsoup/soup-cookie-jar-sqlite.h> |
20 |
#include <libsoup/soup-cookie-jar-db.h> |
21 |
#include <libsoup/soup-gnome-features.h> |
21 |
#include <libsoup/soup-types.h> |
22 |
|
22 |
|
23 |
#define LIBSOUP_USE_UNSTABLE_REQUEST_API |
23 |
#define LIBSOUP_USE_UNSTABLE_REQUEST_API |
24 |
#include <libsoup/soup-cache.h> |
24 |
#include <libsoup/soup-cache.h> |
Lines 297-303
Link Here
|
297 |
g_object_unref (feature); |
297 |
g_object_unref (feature); |
298 |
|
298 |
|
299 |
katze_assign (config_file, midori_paths_get_config_filename_for_writing ("cookies.db")); |
299 |
katze_assign (config_file, midori_paths_get_config_filename_for_writing ("cookies.db")); |
300 |
jar = soup_cookie_jar_sqlite_new (config_file, FALSE); |
300 |
jar = soup_cookie_jar_db_new (config_file, FALSE); |
301 |
soup_session_add_feature (session, SOUP_SESSION_FEATURE (jar)); |
301 |
soup_session_add_feature (session, SOUP_SESSION_FEATURE (jar)); |
302 |
g_signal_connect (jar, "changed", |
302 |
g_signal_connect (jar, "changed", |
303 |
G_CALLBACK (midori_session_cookie_jar_changed_cb), settings); |
303 |
G_CALLBACK (midori_session_cookie_jar_changed_cb), settings); |