diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2010-08-13 17:12:10 +0800 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2010-08-13 17:12:13 +0800 |
commit | 5d63780e638c33a9622b5f205890a4daef06d250 (patch) | |
tree | 6ac8dcda14396e0e9ad7126963ab61a652bbb544 /libempathy | |
parent | d84c92507bd5398340faf5323965df92f97bb4e2 (diff) | |
download | gsoc2013-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()
Diffstat (limited to 'libempathy')
-rw-r--r-- | libempathy/empathy-contact.c | 2 | ||||
-rw-r--r-- | 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 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, |