aboutsummaryrefslogtreecommitdiffstats
path: root/capplet
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2010-05-02 11:18:28 +0800
committerMatthew Barnes <mbarnes@redhat.com>2010-05-02 11:18:28 +0800
commitc30d29425eccafea02e95ea6e81679508c878784 (patch)
tree43881a8ae0b03d55cc6facac3b4e6375524c7c4c /capplet
parent6c7520b73d1360504672804ebeba6c4de18de318 (diff)
downloadgsoc2013-evolution-c30d29425eccafea02e95ea6e81679508c878784.tar
gsoc2013-evolution-c30d29425eccafea02e95ea6e81679508c878784.tar.gz
gsoc2013-evolution-c30d29425eccafea02e95ea6e81679508c878784.tar.bz2
gsoc2013-evolution-c30d29425eccafea02e95ea6e81679508c878784.tar.lz
gsoc2013-evolution-c30d29425eccafea02e95ea6e81679508c878784.tar.xz
gsoc2013-evolution-c30d29425eccafea02e95ea6e81679508c878784.tar.zst
gsoc2013-evolution-c30d29425eccafea02e95ea6e81679508c878784.zip
Coding style and whitespace cleanup.
Diffstat (limited to 'capplet')
-rw-r--r--capplet/settings/anjal-mail-view.c2
-rw-r--r--capplet/settings/mail-decoration.c10
-rw-r--r--capplet/settings/mail-guess-servers.c23
3 files changed, 23 insertions, 12 deletions
diff --git a/capplet/settings/anjal-mail-view.c b/capplet/settings/anjal-mail-view.c
index 99ff93a065..9f96bcd6ef 100644
--- a/capplet/settings/anjal-mail-view.c
+++ b/capplet/settings/anjal-mail-view.c
@@ -56,7 +56,7 @@ anjal_mail_view_finalize (GObject *object)
G_OBJECT_CLASS (anjal_mail_view_parent_class)->finalize (object);
}
-static void
+static void
view_set_folder_uri (AnjalMailView *mail_view, const gchar *uri)
{
}
diff --git a/capplet/settings/mail-decoration.c b/capplet/settings/mail-decoration.c
index d3cddc9b28..d208981a65 100644
--- a/capplet/settings/mail-decoration.c
+++ b/capplet/settings/mail-decoration.c
@@ -130,8 +130,9 @@ in_right (MailDecoration *md, double x)
static void
set_cursor (MailDecoration *md, GdkWindowEdge edge)
{
- gdk_window_set_cursor (gtk_widget_get_window (GTK_WIDGET (md->window)),
- md->priv->cursors[edge]);
+ gdk_window_set_cursor (
+ gtk_widget_get_window (GTK_WIDGET (md->window)),
+ md->priv->cursors[edge]);
md->priv->default_cursor = FALSE;
}
@@ -140,8 +141,9 @@ reset_cursor (MailDecoration *md)
{
if (!md->priv->default_cursor) {
md->priv->default_cursor = TRUE;
- gdk_window_set_cursor (gtk_widget_get_window (GTK_WIDGET (md->window)),
- NULL);
+ gdk_window_set_cursor (
+ gtk_widget_get_window (GTK_WIDGET (md->window)),
+ NULL);
}
}
diff --git a/capplet/settings/mail-guess-servers.c b/capplet/settings/mail-guess-servers.c
index a9e477abd7..fe71153655 100644
--- a/capplet/settings/mail-guess-servers.c
+++ b/capplet/settings/mail-guess-servers.c
@@ -129,7 +129,7 @@ handle_incoming (xmlNodePtr head, EmailProvider *provider)
} else if (strcmp ((gchar *)node->name, "username") == 0) {
provider->recv_username = xml_to_gchar(xmlNodeGetContent(node), provider);
} else if (strcmp ((gchar *)node->name, "authentication") == 0) {
- provider->recv_auth = xml_to_gchar(xmlNodeGetContent(node), provider);
+ provider->recv_auth = xml_to_gchar(xmlNodeGetContent(node), provider);
}
node = node->next;
@@ -153,7 +153,7 @@ handle_outgoing (xmlNodePtr head, EmailProvider *provider)
} else if (strcmp ((gchar *)node->name, "username") == 0) {
provider->send_username = xml_to_gchar(xmlNodeGetContent(node), provider);
} else if (strcmp ((gchar *)node->name, "authentication") == 0) {
- provider->send_auth = xml_to_gchar(xmlNodeGetContent(node), provider);
+ provider->send_auth = xml_to_gchar(xmlNodeGetContent(node), provider);
}
node = node->next;
@@ -246,7 +246,9 @@ guess_when_online (EmailProvider *provider)
SoupMessage *msg;
SoupSession *session;
- url = g_strdup_printf("%s/%s", "https://live.mozillamessaging.com/autoconfig", provider->domain);
+ url = g_strdup_printf (
+ "https://live.mozillamessaging.com/autoconfig/%s",
+ provider->domain);
parsed = soup_uri_new (url);
soup_uri_free (parsed);
@@ -332,10 +334,17 @@ main (gint argc, gchar **argv)
mail_guess_servers (provider);
- printf("Recv: %s\n%s(%s), %s by %s \n Send: %s\n%s(%s), %s by %s\n via %s to %s\n",
- provider->recv_type, provider->recv_hostname, provider->recv_port, provider->recv_username, provider->recv_auth,
- provider->send_type, provider->send_hostname, provider->send_port, provider->send_username, provider->send_auth,
- provider->recv_socket_type, provider->send_socket_type);
+ printf (
+ "Recv: %s\n%s(%s), %s by %s \n "
+ "Send: %s\n%s(%s), %s by %s\n via %s to %s\n",
+ provider->recv_type, provider->recv_hostname,
+ provider->recv_port, provider->recv_username,
+ provider->recv_auth,
+ provider->send_type, provider->send_hostname,
+ provider->send_port, provider->send_username,
+ provider->send_auth,
+ provider->recv_socket_type,
+ provider->send_socket_type);
return 0;
}
#endif