aboutsummaryrefslogtreecommitdiffstats
path: root/src/empathy-debug-dialog.c
diff options
context:
space:
mode:
authorJonny Lamb <jonny.lamb@collabora.co.uk>2009-04-23 18:52:16 +0800
committerJonny Lamb <jonny.lamb@collabora.co.uk>2009-04-24 08:52:50 +0800
commit74f912543dcd2d78aee3e6ab15bf60a29e08074a (patch)
tree20eab67152b43b83a9387c70794f5fba2fa79bac /src/empathy-debug-dialog.c
parentb096d874c2ffc78d38849cc5a8d98bcdf98cc2ec (diff)
downloadgsoc2013-empathy-74f912543dcd2d78aee3e6ab15bf60a29e08074a.tar
gsoc2013-empathy-74f912543dcd2d78aee3e6ab15bf60a29e08074a.tar.gz
gsoc2013-empathy-74f912543dcd2d78aee3e6ab15bf60a29e08074a.tar.bz2
gsoc2013-empathy-74f912543dcd2d78aee3e6ab15bf60a29e08074a.tar.lz
gsoc2013-empathy-74f912543dcd2d78aee3e6ab15bf60a29e08074a.tar.xz
gsoc2013-empathy-74f912543dcd2d78aee3e6ab15bf60a29e08074a.tar.zst
gsoc2013-empathy-74f912543dcd2d78aee3e6ab15bf60a29e08074a.zip
Use "foo != NULL" instead of "foo".
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
Diffstat (limited to 'src/empathy-debug-dialog.c')
-rw-r--r--src/empathy-debug-dialog.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/empathy-debug-dialog.c b/src/empathy-debug-dialog.c
index 15864b739..37c88254b 100644
--- a/src/empathy-debug-dialog.c
+++ b/src/empathy-debug-dialog.c
@@ -280,13 +280,13 @@ debug_dialog_cm_chooser_changed_cb (GtkComboBox *cm_chooser,
debug_dialog_set_enabled (debug_dialog, FALSE);
/* Disconnect from previous NewDebugMessage signal */
- if (priv->signal_connection)
+ if (priv->signal_connection != NULL)
{
tp_proxy_signal_connection_disconnect (priv->signal_connection);
priv->signal_connection = NULL;
}
- if (priv->proxy)
+ if (priv->proxy != NULL)
g_object_unref (priv->proxy);
priv->proxy = TP_PROXY (connection);
@@ -869,22 +869,22 @@ debug_dialog_dispose (GObject *object)
priv->dispose_run = TRUE;
- if (priv->parent)
+ if (priv->parent != NULL)
g_object_unref (priv->parent);
- if (priv->store)
+ if (priv->store != NULL)
g_object_unref (priv->store);
- if (priv->proxy)
+ if (priv->proxy != NULL)
{
debug_dialog_set_enabled (EMPATHY_DEBUG_DIALOG (object), FALSE);
g_object_unref (priv->proxy);
}
- if (priv->signal_connection)
+ if (priv->signal_connection != NULL)
tp_proxy_signal_connection_disconnect (priv->signal_connection);
- if (priv->cms)
+ if (priv->cms != NULL)
g_object_unref (priv->cms);
(G_OBJECT_CLASS (empathy_debug_dialog_parent_class)->dispose) (object);