empathy r1692 - trunk/libempathy-gtk
- From: xclaesse svn gnome org
- To: svn-commits-list gnome org
- Subject: empathy r1692 - trunk/libempathy-gtk
- Date: Tue, 11 Nov 2008 15:27:04 +0000 (UTC)
Author: xclaesse
Date: Tue Nov 11 15:27:04 2008
New Revision: 1692
URL: http://svn.gnome.org/viewvc/empathy?rev=1692&view=rev
Log:
AvatarChooser: don't set contact_factory to NULL after unreffing.
The object is being destroyed anyway.
Modified:
trunk/libempathy-gtk/empathy-avatar-chooser.c
Modified: trunk/libempathy-gtk/empathy-avatar-chooser.c
==============================================================================
--- trunk/libempathy-gtk/empathy-avatar-chooser.c (original)
+++ trunk/libempathy-gtk/empathy-avatar-chooser.c Tue Nov 11 15:27:04 2008
@@ -223,12 +223,11 @@
priv = GET_PRIV (object);
- g_object_unref (priv->contact_factory);
- priv->contact_factory = NULL;
-
avatar_chooser_set_account (EMPATHY_AVATAR_CHOOSER (object), NULL);
g_assert (priv->account == NULL && priv->tp_contact_factory == NULL);
+ g_object_unref (priv->contact_factory);
+
if (priv->avatar != NULL) {
empathy_avatar_unref (priv->avatar);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]