diff options
author | Chris Toshok <toshok@ximian.com> | 2003-01-10 03:12:30 +0800 |
---|---|---|
committer | Chris Toshok <toshok@src.gnome.org> | 2003-01-10 03:12:30 +0800 |
commit | fef77b9924ba63a06e57b596c00dd7b92be276f5 (patch) | |
tree | b37f27ad107c92769583e51b29da7c98d99eac13 /composer/e-msg-composer-hdrs.c | |
parent | 129f54c0d27eb9f404cdc3c917975327e9a063ef (diff) | |
download | gsoc2013-evolution-fef77b9924ba63a06e57b596c00dd7b92be276f5.tar.gz gsoc2013-evolution-fef77b9924ba63a06e57b596c00dd7b92be276f5.tar.zst gsoc2013-evolution-fef77b9924ba63a06e57b596c00dd7b92be276f5.zip |
need to ref/sink "new" so that the g_object_unref doesn't spew a warning.
2003-01-09 Chris Toshok <toshok@ximian.com>
* e-msg-composer-hdrs.c (e_msg_composer_hdrs_new): need to
ref/sink "new" so that the g_object_unref doesn't spew a warning.
svn path=/trunk/; revision=19368
Diffstat (limited to 'composer/e-msg-composer-hdrs.c')
-rw-r--r-- | composer/e-msg-composer-hdrs.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/composer/e-msg-composer-hdrs.c b/composer/e-msg-composer-hdrs.c index 6b80f01d3b..172718157b 100644 --- a/composer/e-msg-composer-hdrs.c +++ b/composer/e-msg-composer-hdrs.c @@ -708,7 +708,10 @@ e_msg_composer_hdrs_new (BonoboUIComponent *uic, int visible_mask, int visible_f new = g_object_new (e_msg_composer_hdrs_get_type (), NULL); priv = new->priv; priv->uic = uic; - + + g_object_ref (new); + gtk_object_sink (GTK_OBJECT (new)); + if (!setup_corba (new)) { g_object_unref (new); return NULL; |