diff options
author | Xan Lopez <xan@igalia.com> | 2012-04-02 17:45:18 +0800 |
---|---|---|
committer | Xan Lopez <xan@igalia.com> | 2012-04-02 17:47:42 +0800 |
commit | 97748c9a587f518e762009fd727b5fb6b39d6fa3 (patch) | |
tree | 34ccf90eccf07fc89c4fcc5ee3b01559b4d16e70 /embed/ephy-web-app-utils.c | |
parent | 76219bb62558233c1e06d9274fbcc695654e2512 (diff) | |
download | gsoc2013-epiphany-97748c9a587f518e762009fd727b5fb6b39d6fa3.tar.gz gsoc2013-epiphany-97748c9a587f518e762009fd727b5fb6b39d6fa3.tar.zst gsoc2013-epiphany-97748c9a587f518e762009fd727b5fb6b39d6fa3.zip |
Revert "e-web-app-utils: whitespace nitpicks in casts"
This reverts commit 0b05e95f4aea0ab11ab11828e0bcc0b920d6230e.
Our codebase is not completely consistent here, but as a rule we don't
do whitespaces in casts.
Diffstat (limited to 'embed/ephy-web-app-utils.c')
-rw-r--r-- | embed/ephy-web-app-utils.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/embed/ephy-web-app-utils.c b/embed/ephy-web-app-utils.c index e70fa3a45..aa0ede697 100644 --- a/embed/ephy-web-app-utils.c +++ b/embed/ephy-web-app-utils.c @@ -222,7 +222,7 @@ create_desktop_file (const char *address, path = g_build_filename (profile_dir, EPHY_WEB_APP_ICON_NAME, NULL); image = g_file_new_for_path (path); - stream = (GOutputStream *) g_file_create (image, 0, NULL, NULL); + stream = (GOutputStream*)g_file_create (image, 0, NULL, NULL); gdk_pixbuf_save_to_stream (icon, stream, "png", NULL, NULL, NULL); g_key_file_set_value (file, "Desktop Entry", "Icon", path); @@ -276,7 +276,7 @@ create_cookie_jar_for_domain (const char *address, const char *directory) /* Create the new cookie jar */ filename = g_build_filename (directory, "cookies.sqlite", NULL); - new_jar = (SoupCookieJar *) soup_cookie_jar_sqlite_new (filename, TRUE); + new_jar = (SoupCookieJar*)soup_cookie_jar_sqlite_new (filename, FALSE); g_free (filename); /* The app domain for the current view */ @@ -285,11 +285,11 @@ create_cookie_jar_for_domain (const char *address, const char *directory) /* The current cookies */ session = webkit_get_default_session (); - current_jar = (SoupCookieJar *) soup_session_get_feature (session, SOUP_TYPE_COOKIE_JAR); + current_jar = (SoupCookieJar*)soup_session_get_feature (session, SOUP_TYPE_COOKIE_JAR); cookies = soup_cookie_jar_all_cookies (current_jar); for (p = cookies; p; p = p->next) { - SoupCookie *cookie = (SoupCookie *) p->data; + SoupCookie *cookie = (SoupCookie*)p->data; if (g_str_has_suffix (cookie->domain, domain)) soup_cookie_jar_add_cookie (new_jar, cookie); @@ -473,7 +473,7 @@ ephy_web_application_free_application_list (GList *list) GList *p; for (p = list; p; p = p->next) - ephy_web_application_free ((EphyWebApplication *) p->data); + ephy_web_application_free ((EphyWebApplication*)p->data); g_list_free (list); } |