empathy r1806 - trunk/libempathy
- From: xclaesse svn gnome org
- To: svn-commits-list gnome org
- Subject: empathy r1806 - trunk/libempathy
- Date: Fri, 21 Nov 2008 16:18:12 +0000 (UTC)
Author: xclaesse
Date: Fri Nov 21 16:18:11 2008
New Revision: 1806
URL: http://svn.gnome.org/viewvc/empathy?rev=1806&view=rev
Log:
Removed pointless test whether the tp_file is a GObject in the finalize function. (Jonny Lamb)
Signed-off-by: Jonny Lamb <jonny lamb collabora co uk>
Modified:
trunk/libempathy/empathy-tp-file.c
Modified: trunk/libempathy/empathy-tp-file.c
==============================================================================
--- trunk/libempathy/empathy-tp-file.c (original)
+++ trunk/libempathy/empathy-tp-file.c Fri Nov 21 16:18:11 2008
@@ -347,8 +347,7 @@
tp_file_destroy_cb, object);
tp_cli_channel_call_close (tp_file->priv->channel, -1, NULL, NULL,
NULL, NULL);
- if (G_IS_OBJECT (tp_file->priv->channel))
- g_object_unref (tp_file->priv->channel);
+ g_object_unref (tp_file->priv->channel);
}
if (tp_file->priv->factory)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]