[evolution-exchange] Coding style and whitespace cleanup.
- From: Matthew Barnes <mbarnes src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [evolution-exchange] Coding style and whitespace cleanup.
- Date: Sat, 24 Oct 2009 04:40:43 +0000 (UTC)
commit 8fcce2cffee4dd33ad46fe06a5ae077072bdb098
Author: Matthew Barnes <mbarnes redhat com>
Date: Sat Oct 24 00:33:47 2009 -0400
Coding style and whitespace cleanup.
eplugin/exchange-config-listener.c | 1 -
server/lib/e2k-marshal.c | 2 --
tools/exchange-share-config-listener.c | 2 +-
tools/ximian-connector-setup.c | 2 +-
4 files changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/eplugin/exchange-config-listener.c b/eplugin/exchange-config-listener.c
index 1fafb8f..6ff30bd 100644
--- a/eplugin/exchange-config-listener.c
+++ b/eplugin/exchange-config-listener.c
@@ -660,7 +660,6 @@ display_passwd_expiry_message (gint max_passwd_age, ExchangeAccount *account)
gchar *passwd_expiry_msg =
g_strdup_printf (_("Your password will expire in the next %d days"), max_passwd_age);
-
passwd_exp_dialog = gtk_dialog_new ();
gtk_window_set_title (GTK_WINDOW (passwd_exp_dialog), _("Password Expiry Warning..."));
gtk_window_set_position (GTK_WINDOW (passwd_exp_dialog), GTK_WIN_POS_CENTER_ON_PARENT);
diff --git a/server/lib/e2k-marshal.c b/server/lib/e2k-marshal.c
index 44c1405..f6a230c 100644
--- a/server/lib/e2k-marshal.c
+++ b/server/lib/e2k-marshal.c
@@ -2,7 +2,6 @@
#include <glib-object.h>
-
#ifdef G_ENABLE_DEBUG
#define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
#define g_marshal_value_peek_char(v) g_value_get_char (v)
@@ -47,7 +46,6 @@
#define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
#endif /* !G_ENABLE_DEBUG */
-
/* NONE:INT,INT (./e2k-marshal.list:1) */
void
e2k_marshal_VOID__INT_INT (GClosure *closure,
diff --git a/tools/exchange-share-config-listener.c b/tools/exchange-share-config-listener.c
index 499841d..8d8bc66 100644
--- a/tools/exchange-share-config-listener.c
+++ b/tools/exchange-share-config-listener.c
@@ -754,7 +754,7 @@ exchange_share_config_listener_get_account_for_uri (ExchangeShareConfigListener
for (a = accounts; a; a = a->next) {
ExchangeAccount *account = a->data;
-
+
g_return_val_if_fail (account != NULL, NULL);
/* Kludge for while we don't support multiple accounts */
diff --git a/tools/ximian-connector-setup.c b/tools/ximian-connector-setup.c
index 5d11274..fef9415 100644
--- a/tools/ximian-connector-setup.c
+++ b/tools/ximian-connector-setup.c
@@ -68,7 +68,7 @@ main (gint argc, gchar **argv)
g_type_init ();
g_thread_init (NULL);
- gtk_init_with_args (&argc, &argv, NULL, NULL, (char *)GETTEXT_PACKAGE, &error);
+ gtk_init_with_args (&argc, &argv, NULL, NULL, (gchar *)GETTEXT_PACKAGE, &error);
if (error != NULL) {
g_printerr ("Failed initialize application, %s\n", error->message);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]