summaryrefslogtreecommitdiff
path: root/surf.c
diff options
context:
space:
mode:
authorEnno Boland (Gottox) <gottox@s01.de>2009-06-08 09:38:01 +0200
committerEnno Boland (Gottox) <gottox@s01.de>2009-06-08 09:38:01 +0200
commit05bf05e4a2f0f928106438fb4f4d9fffbb9f7283 (patch)
treeb8e220cb734dcbd2cdd67d93c1a69461b96b4cae /surf.c
parentf287155cb95d73f4bb6975a8605a2b7e825cf5ed (diff)
downloadsurf-05bf05e4a2f0f928106438fb4f4d9fffbb9f7283.tar.gz
surf-05bf05e4a2f0f928106438fb4f4d9fffbb9f7283.tar.bz2
surf-05bf05e4a2f0f928106438fb4f4d9fffbb9f7283.zip
use tabs not spaces!
Diffstat (limited to 'surf.c')
-rw-r--r--surf.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/surf.c b/surf.c
index e1c4080..caf5391 100644
--- a/surf.c
+++ b/surf.c
@@ -423,10 +423,10 @@ updatetitle(Client *c) {
int main(int argc, char *argv[]) {
gchar *uri = NULL, *file = NULL;
- SoupSession *s;
+ SoupSession *s;
Client *c;
int o;
- const gchar *home, *filename;
+ const gchar *home, *filename;
gtk_init(NULL, NULL);
if (!g_thread_supported())
@@ -469,12 +469,12 @@ int main(int argc, char *argv[]) {
if(!clients)
newclient();
- /* cookie persistance */
- s = webkit_get_default_session();
- home = g_get_home_dir();
- filename = g_build_filename(home, ".surf-cookies", NULL);
- cookiejar = soup_cookie_jar_text_new(filename, FALSE);
- soup_session_add_feature(s, SOUP_SESSION_FEATURE(cookiejar));
+ /* cookie persistance */
+ s = webkit_get_default_session();
+ home = g_get_home_dir();
+ filename = g_build_filename(home, ".surf-cookies", NULL);
+ cookiejar = soup_cookie_jar_text_new(filename, FALSE);
+ soup_session_add_feature(s, SOUP_SESSION_FEATURE(cookiejar));
gtk_main();
cleanup();