[empathy] empathy_contact_new can be static now
- From: Guillaume Desmottes <gdesmott src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [empathy] empathy_contact_new can be static now
- Date: Fri, 13 Aug 2010 09:32:58 +0000 (UTC)
commit 5d63780e638c33a9622b5f205890a4daef06d250
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date: Fri Aug 13 11:12:10 2010 +0200
empathy_contact_new can be static now
Everyone should use empathy_contact_dup_from_tp_contact()
libempathy/empathy-contact.c | 2 +-
libempathy/empathy-contact.h | 1 -
2 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/libempathy/empathy-contact.c b/libempathy/empathy-contact.c
index 5347e7f..324f41f 100644
--- a/libempathy/empathy-contact.c
+++ b/libempathy/empathy-contact.c
@@ -502,7 +502,7 @@ contact_set_property (GObject *object,
};
}
-EmpathyContact *
+static EmpathyContact *
empathy_contact_new (TpContact *tp_contact)
{
g_return_val_if_fail (TP_IS_CONTACT (tp_contact), NULL);
diff --git a/libempathy/empathy-contact.h b/libempathy/empathy-contact.h
index 3c92330..c65e087 100644
--- a/libempathy/empathy-contact.h
+++ b/libempathy/empathy-contact.h
@@ -71,7 +71,6 @@ typedef enum {
} EmpathyCapabilities;
GType empathy_contact_get_type (void) G_GNUC_CONST;
-EmpathyContact * empathy_contact_new (TpContact *tp_contact);
EmpathyContact * empathy_contact_from_tpl_contact (TpAccount *account,
TplEntity *tpl_contact);
EmpathyContact * empathy_contact_new_for_log (TpAccount *account,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]