aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-contact-list-view.c
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-03-08 21:30:57 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-03-15 16:28:40 +0800
commit2f6934c6f206596cfffe0497adad83a231cc24d7 (patch)
tree13c5784889f41bfbed42c2efe7a7a563dc2964ba /libempathy-gtk/empathy-contact-list-view.c
parent5056bda77944ccee7a6bc4040a462590c16982b3 (diff)
downloadgsoc2013-empathy-2f6934c6f206596cfffe0497adad83a231cc24d7.tar
gsoc2013-empathy-2f6934c6f206596cfffe0497adad83a231cc24d7.tar.gz
gsoc2013-empathy-2f6934c6f206596cfffe0497adad83a231cc24d7.tar.bz2
gsoc2013-empathy-2f6934c6f206596cfffe0497adad83a231cc24d7.tar.lz
gsoc2013-empathy-2f6934c6f206596cfffe0497adad83a231cc24d7.tar.xz
gsoc2013-empathy-2f6934c6f206596cfffe0497adad83a231cc24d7.tar.zst
gsoc2013-empathy-2f6934c6f206596cfffe0497adad83a231cc24d7.zip
coding style fixes
Diffstat (limited to 'libempathy-gtk/empathy-contact-list-view.c')
-rw-r--r--libempathy-gtk/empathy-contact-list-view.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/libempathy-gtk/empathy-contact-list-view.c b/libempathy-gtk/empathy-contact-list-view.c
index b95f05580..8fb08dfdc 100644
--- a/libempathy-gtk/empathy-contact-list-view.c
+++ b/libempathy-gtk/empathy-contact-list-view.c
@@ -828,7 +828,7 @@ contact_list_view_favourite_toggled_cb (
GtkTreeModel *model;
GtkTreeIter iter;
EmpathyContact *contact;
- EmpathyContactList *list;
+ EmpathyContactList *list;
model = gtk_tree_view_get_model (GTK_TREE_VIEW (view));
if (!gtk_tree_model_get_iter_from_string (model, &iter, path_string))
@@ -840,12 +840,12 @@ contact_list_view_favourite_toggled_cb (
if (contact == NULL)
return;
- list = empathy_contact_list_store_get_list_iface (priv->store);
- if (empathy_contact_list_is_favourite (list, contact)) {
- empathy_contact_list_remove_from_favourites (list, contact);
- } else {
- empathy_contact_list_add_to_favourites (list, contact);
- }
+ list = empathy_contact_list_store_get_list_iface (priv->store);
+ if (empathy_contact_list_is_favourite (list, contact)) {
+ empathy_contact_list_remove_from_favourites (list, contact);
+ } else {
+ empathy_contact_list_add_to_favourites (list, contact);
+ }
g_object_unref (contact);
}
@@ -1055,9 +1055,9 @@ contact_list_view_favourite_cell_data_func (
EMPATHY_CONTACT_LIST_STORE_COL_IS_FAVOURITE, &is_favourite,
-1);
- if (!is_separator && !is_group)
- icon_name = (is_favourite? EMPATHY_IMAGE_FAVOURITE :
- EMPATHY_IMAGE_UNFAVOURITE);
+ if (!is_separator && !is_group)
+ icon_name = (is_favourite? EMPATHY_IMAGE_FAVOURITE :
+ EMPATHY_IMAGE_UNFAVOURITE);
g_object_set (cell,
"visible", (icon_name != NULL),