aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSjoerd Simons <sjoerd.simons@collabora.co.uk>2009-08-18 00:12:55 +0800
committerSjoerd Simons <sjoerd.simons@collabora.co.uk>2009-08-18 00:12:55 +0800
commitd7ad9a427fa8c11bcee8628a0bb5f56602fc84b3 (patch)
treebbbcb669ec3adde12e54068339b8d1872bd59d2c
parent40ee5f34184be738a4f9f31456480c62a9ad3bb9 (diff)
downloadgsoc2013-empathy-d7ad9a427fa8c11bcee8628a0bb5f56602fc84b3.tar
gsoc2013-empathy-d7ad9a427fa8c11bcee8628a0bb5f56602fc84b3.tar.gz
gsoc2013-empathy-d7ad9a427fa8c11bcee8628a0bb5f56602fc84b3.tar.bz2
gsoc2013-empathy-d7ad9a427fa8c11bcee8628a0bb5f56602fc84b3.tar.lz
gsoc2013-empathy-d7ad9a427fa8c11bcee8628a0bb5f56602fc84b3.tar.xz
gsoc2013-empathy-d7ad9a427fa8c11bcee8628a0bb5f56602fc84b3.tar.zst
gsoc2013-empathy-d7ad9a427fa8c11bcee8628a0bb5f56602fc84b3.zip
_new for a signleton needs to return a ref
-rw-r--r--src/empathy-accounts-dialog.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/empathy-accounts-dialog.c b/src/empathy-accounts-dialog.c
index 682104d76..87d93c5ae 100644
--- a/src/empathy-accounts-dialog.c
+++ b/src/empathy-accounts-dialog.c
@@ -1318,6 +1318,7 @@ do_constructor (GType type,
if (dialog_singleton)
{
retval = G_OBJECT (dialog_singleton);
+ g_object_ref (retval);
}
else
{