[epiphany] Revert "e-web-app-utils: whitespace nitpicks in casts"
- From: Xan Lopez <xan src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany] Revert "e-web-app-utils: whitespace nitpicks in casts"
- Date: Mon, 2 Apr 2012 09:48:10 +0000 (UTC)
commit 97748c9a587f518e762009fd727b5fb6b39d6fa3
Author: Xan Lopez <xan igalia com>
Date: Mon Apr 2 11:45:18 2012 +0200
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.
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 e70fa3a..aa0ede6 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);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]