aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-individual-view.c
diff options
context:
space:
mode:
authorTravis Reitter <treitter@gmail.com>2010-07-08 10:22:15 +0800
committerTravis Reitter <treitter@gmail.com>2010-07-21 07:12:36 +0800
commit7473d7a97d02be9aeefa271269184485ddf460a4 (patch)
tree28947f297e03ec2a0098b72e373381e65163f6de /libempathy-gtk/empathy-individual-view.c
parenta854cb126541cda286f4f48d2962c43e3be8a4f5 (diff)
downloadgsoc2013-empathy-7473d7a97d02be9aeefa271269184485ddf460a4.tar
gsoc2013-empathy-7473d7a97d02be9aeefa271269184485ddf460a4.tar.gz
gsoc2013-empathy-7473d7a97d02be9aeefa271269184485ddf460a4.tar.bz2
gsoc2013-empathy-7473d7a97d02be9aeefa271269184485ddf460a4.tar.lz
gsoc2013-empathy-7473d7a97d02be9aeefa271269184485ddf460a4.tar.xz
gsoc2013-empathy-7473d7a97d02be9aeefa271269184485ddf460a4.tar.zst
gsoc2013-empathy-7473d7a97d02be9aeefa271269184485ddf460a4.zip
Use explicit boolean expressions for if-conditionals, according to Telepathy style.
Diffstat (limited to 'libempathy-gtk/empathy-individual-view.c')
-rw-r--r--libempathy-gtk/empathy-individual-view.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libempathy-gtk/empathy-individual-view.c b/libempathy-gtk/empathy-individual-view.c
index 43d4a7856..dc9099018 100644
--- a/libempathy-gtk/empathy-individual-view.c
+++ b/libempathy-gtk/empathy-individual-view.c
@@ -899,7 +899,7 @@ individual_view_row_activated (GtkTreeView *view,
contact = empathy_contact_from_folks_individual (individual);
- if (contact)
+ if (contact != NULL)
{
DEBUG ("Starting a chat");
@@ -1985,7 +1985,7 @@ individual_view_group_remove_activate_cb (GtkMenuItem *menuitem,
gchar *group;
group = empathy_individual_view_get_selected_group (view, NULL);
- if (group)
+ if (group != NULL)
{
gchar *text;
GtkWindow *parent;
@@ -2073,7 +2073,7 @@ individual_view_remove_activate_cb (GtkMenuItem *menuitem,
individual = empathy_individual_view_dup_selected (view);
- if (individual)
+ if (individual != NULL)
{
gchar *text;
GtkWindow *parent;