aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-08-13 17:12:10 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-08-13 17:12:13 +0800
commit5d63780e638c33a9622b5f205890a4daef06d250 (patch)
tree6ac8dcda14396e0e9ad7126963ab61a652bbb544
parentd84c92507bd5398340faf5323965df92f97bb4e2 (diff)
downloadgsoc2013-empathy-5d63780e638c33a9622b5f205890a4daef06d250.tar
gsoc2013-empathy-5d63780e638c33a9622b5f205890a4daef06d250.tar.gz
gsoc2013-empathy-5d63780e638c33a9622b5f205890a4daef06d250.tar.bz2
gsoc2013-empathy-5d63780e638c33a9622b5f205890a4daef06d250.tar.lz
gsoc2013-empathy-5d63780e638c33a9622b5f205890a4daef06d250.tar.xz
gsoc2013-empathy-5d63780e638c33a9622b5f205890a4daef06d250.tar.zst
gsoc2013-empathy-5d63780e638c33a9622b5f205890a4daef06d250.zip
empathy_contact_new can be static now
Everyone should use empathy_contact_dup_from_tp_contact()
-rw-r--r--libempathy/empathy-contact.c2
-rw-r--r--libempathy/empathy-contact.h1
2 files changed, 1 insertions, 2 deletions
diff --git a/libempathy/empathy-contact.c b/libempathy/empathy-contact.c
index 5347e7f38..324f41f64 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 3c923308b..c65e0871f 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,