aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-contact-widget.c
diff options
context:
space:
mode:
authorTravis Reitter <treitter@gmail.com>2010-07-09 02:34:35 +0800
committerTravis Reitter <treitter@gmail.com>2010-07-21 07:12:36 +0800
commitfef2dec3ea6216921b297c7edbb3665e6c222ef5 (patch)
treeb722d3b46c7a5d4c9c06130aaafcd6910e6c01e8 /libempathy-gtk/empathy-contact-widget.c
parent571d3f81c92099c569c061f38c1ac3b923c04637 (diff)
downloadgsoc2013-empathy-fef2dec3ea6216921b297c7edbb3665e6c222ef5.tar
gsoc2013-empathy-fef2dec3ea6216921b297c7edbb3665e6c222ef5.tar.gz
gsoc2013-empathy-fef2dec3ea6216921b297c7edbb3665e6c222ef5.tar.bz2
gsoc2013-empathy-fef2dec3ea6216921b297c7edbb3665e6c222ef5.tar.lz
gsoc2013-empathy-fef2dec3ea6216921b297c7edbb3665e6c222ef5.tar.xz
gsoc2013-empathy-fef2dec3ea6216921b297c7edbb3665e6c222ef5.tar.zst
gsoc2013-empathy-fef2dec3ea6216921b297c7edbb3665e6c222ef5.zip
Add 'dup' to the names of empathy_contact_from_folks_individual() and folks_individual_from_empathy_contact() to make it clear that the return value has been referenced.
Diffstat (limited to 'libempathy-gtk/empathy-contact-widget.c')
-rw-r--r--libempathy-gtk/empathy-contact-widget.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/libempathy-gtk/empathy-contact-widget.c b/libempathy-gtk/empathy-contact-widget.c
index 440c90482..92f6c4b58 100644
--- a/libempathy-gtk/empathy-contact-widget.c
+++ b/libempathy-gtk/empathy-contact-widget.c
@@ -579,7 +579,7 @@ contact_widget_cell_toggled (GtkCellRendererToggle *cell,
if (group != NULL)
{
- FolksIndividual *individual = folks_individual_from_empathy_contact (
+ FolksIndividual *individual = folks_individual_dup_from_empathy_contact (
information->contact);
if (individual != NULL)
@@ -809,7 +809,7 @@ contact_widget_button_group_clicked_cb (GtkButton *button,
COL_ENABLED, TRUE,
-1);
- individual = folks_individual_from_empathy_contact (information->contact);
+ individual = folks_individual_dup_from_empathy_contact (information->contact);
if (individual != NULL)
{
@@ -1337,8 +1337,8 @@ contact_widget_entry_alias_focus_event_cb (GtkEditable *editable,
}
else
{
- FolksIndividual *individual = folks_individual_from_empathy_contact (
- information->contact);
+ FolksIndividual *individual =
+ folks_individual_dup_from_empathy_contact (information->contact);
if (individual != NULL)
{
@@ -1535,8 +1535,8 @@ contact_widget_contact_update (EmpathyContactWidget *information)
if (information->flags & EMPATHY_CONTACT_WIDGET_EDIT_FAVOURITE)
{
- FolksIndividual *individual = folks_individual_from_empathy_contact (
- information->contact);
+ FolksIndividual *individual =
+ folks_individual_dup_from_empathy_contact (information->contact);
if (individual != NULL)
{
@@ -1672,7 +1672,7 @@ static void
favourite_toggled_cb (GtkToggleButton *button,
EmpathyContactWidget *information)
{
- FolksIndividual *individual = folks_individual_from_empathy_contact (
+ FolksIndividual *individual = folks_individual_dup_from_empathy_contact (
information->contact);
if (individual != NULL)