empathy r2080 - trunk/libempathy
- From: xclaesse svn gnome org
- To: svn-commits-list gnome org
- Subject: empathy r2080 - trunk/libempathy
- Date: Tue, 6 Jan 2009 16:48:55 +0000 (UTC)
Author: xclaesse
Date: Tue Jan 6 16:48:55 2009
New Revision: 2080
URL: http://svn.gnome.org/viewvc/empathy?rev=2080&view=rev
Log:
Add a weak pointer ref inside the costructor.
Modified:
trunk/libempathy/empathy-account-manager.c
Modified: trunk/libempathy/empathy-account-manager.c
==============================================================================
--- trunk/libempathy/empathy-account-manager.c (original)
+++ trunk/libempathy/empathy-account-manager.c Tue Jan 6 16:48:55 2009
@@ -441,6 +441,7 @@
retval = G_OBJECT_CLASS (empathy_account_manager_parent_class)->constructor (type,
n_construct_params,
construct_params);
+ g_object_add_weak_pointer (retval, (gpointer *) &retval);
manager_singleton = EMPATHY_ACCOUNT_MANAGER (retval);
}
else
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]