diff options
author | keis <keijser@gmail.com> | 2011-03-17 20:24:02 +0100 |
---|---|---|
committer | keis <keijser@gmail.com> | 2011-03-17 20:55:45 +0100 |
commit | 49ce876c744ee3d6a424c50d9f2db439acbe3f28 (patch) | |
tree | 22076c37cf2c13be39eab9803fcd33a429ca9b38 /src/uzbl-core.c | |
parent | c4e594448095703a13dfa2556c78a55ed65d6f47 (diff) |
fix clear_cookies warning
Diffstat (limited to 'src/uzbl-core.c')
-rw-r--r-- | src/uzbl-core.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/uzbl-core.c b/src/uzbl-core.c index c879602..ec2d347 100644 --- a/src/uzbl-core.c +++ b/src/uzbl-core.c @@ -732,10 +732,12 @@ clear_cookies(WebKitWebView *page, GArray *argv, GString *result) { (void) page; (void) argv; (void) result; // Replace the current cookie jar with a new empty jar - soup_session_remove_feature (uzbl.net.soup_session, uzbl.net.soup_cookie_jar); + soup_session_remove_feature (uzbl.net.soup_session, + SOUP_SESSION_FEATURE (uzbl.net.soup_cookie_jar)); g_object_unref (G_OBJECT (uzbl.net.soup_cookie_jar)); uzbl.net.soup_cookie_jar = uzbl_cookie_jar_new (); - soup_session_add_feature(uzbl.net.soup_session, uzbl.net.soup_cookie_jar); + soup_session_add_feature(uzbl.net.soup_session, + SOUP_SESSION_FEATURE (uzbl.net.soup_cookie_jar)); } void |