[empathy] coding style fixes



commit ed8e51644481f3f9c2fb9059812bee49eabc423a
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date:   Mon Nov 14 15:35:51 2011 +0100

    coding style fixes

 libempathy-gtk/empathy-contact-blocking-dialog.c |    2 +-
 libempathy/empathy-contact.c                     |    8 ++++----
 libempathy/empathy-tls-verifier.c                |    2 +-
 3 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/libempathy-gtk/empathy-contact-blocking-dialog.c b/libempathy-gtk/empathy-contact-blocking-dialog.c
index 1ec60b0..c28362b 100644
--- a/libempathy-gtk/empathy-contact-blocking-dialog.c
+++ b/libempathy-gtk/empathy-contact-blocking-dialog.c
@@ -302,7 +302,7 @@ block_cb (GObject *source,
 }
 
 static void
-block_contact_got_contact(TpConnection *conn,
+block_contact_got_contact (TpConnection *conn,
     guint n_contacts,
     TpContact * const *contacts,
     const gchar * const *requested_ids,
diff --git a/libempathy/empathy-contact.c b/libempathy/empathy-contact.c
index 572d492..15946a1 100644
--- a/libempathy/empathy-contact.c
+++ b/libempathy/empathy-contact.c
@@ -2089,9 +2089,9 @@ contact_##name##_cb (GObject *source, \
     } \
 }
 
-declare_contact_cb(request_subscription)
-declare_contact_cb(authorize_publication)
-declare_contact_cb(unblock)
+declare_contact_cb (request_subscription)
+declare_contact_cb (authorize_publication)
+declare_contact_cb (unblock)
 
 void
 empathy_contact_add_to_contact_list (EmpathyContact *self,
@@ -2110,7 +2110,7 @@ empathy_contact_add_to_contact_list (EmpathyContact *self,
   tp_contact_unblock_async (priv->tp_contact, contact_unblock_cb, NULL);
 }
 
-declare_contact_cb(remove)
+declare_contact_cb (remove)
 
 void
 empathy_contact_remove_from_contact_list (EmpathyContact *self)
diff --git a/libempathy/empathy-tls-verifier.c b/libempathy/empathy-tls-verifier.c
index c22eaf0..2f20ca8 100644
--- a/libempathy/empathy-tls-verifier.c
+++ b/libempathy/empathy-tls-verifier.c
@@ -526,7 +526,7 @@ empathy_tls_verifier_verify_async (EmpathyTLSVerifier *self,
   chain = gcr_certificate_chain_new ();
   for (idx = 0; idx < cert_data->len; ++idx) {
     data = g_ptr_array_index (cert_data, idx);
-    cert = gcr_simple_certificate_new ((guchar*)data->data, data->len);
+    cert = gcr_simple_certificate_new ((guchar *) data->data, data->len);
     gcr_certificate_chain_add (chain, cert);
     g_object_unref (cert);
   }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]