use tabs not spaces!
This commit is contained in:
parent
f287155cb9
commit
05bf05e4a2
16
surf.c
16
surf.c
|
@ -423,10 +423,10 @@ updatetitle(Client *c) {
|
||||||
|
|
||||||
int main(int argc, char *argv[]) {
|
int main(int argc, char *argv[]) {
|
||||||
gchar *uri = NULL, *file = NULL;
|
gchar *uri = NULL, *file = NULL;
|
||||||
SoupSession *s;
|
SoupSession *s;
|
||||||
Client *c;
|
Client *c;
|
||||||
int o;
|
int o;
|
||||||
const gchar *home, *filename;
|
const gchar *home, *filename;
|
||||||
|
|
||||||
gtk_init(NULL, NULL);
|
gtk_init(NULL, NULL);
|
||||||
if (!g_thread_supported())
|
if (!g_thread_supported())
|
||||||
|
@ -469,12 +469,12 @@ int main(int argc, char *argv[]) {
|
||||||
if(!clients)
|
if(!clients)
|
||||||
newclient();
|
newclient();
|
||||||
|
|
||||||
/* cookie persistance */
|
/* cookie persistance */
|
||||||
s = webkit_get_default_session();
|
s = webkit_get_default_session();
|
||||||
home = g_get_home_dir();
|
home = g_get_home_dir();
|
||||||
filename = g_build_filename(home, ".surf-cookies", NULL);
|
filename = g_build_filename(home, ".surf-cookies", NULL);
|
||||||
cookiejar = soup_cookie_jar_text_new(filename, FALSE);
|
cookiejar = soup_cookie_jar_text_new(filename, FALSE);
|
||||||
soup_session_add_feature(s, SOUP_SESSION_FEATURE(cookiejar));
|
soup_session_add_feature(s, SOUP_SESSION_FEATURE(cookiejar));
|
||||||
|
|
||||||
gtk_main();
|
gtk_main();
|
||||||
cleanup();
|
cleanup();
|
||||||
|
|
Loading…
Reference in New Issue