diff options
-rw-r--r-- | composer/ChangeLog | 5 | ||||
-rw-r--r-- | composer/e-msg-composer-hdrs.c | 5 |
2 files changed, 9 insertions, 1 deletions
diff --git a/composer/ChangeLog b/composer/ChangeLog index 9cb561620f..8b9e337e66 100644 --- a/composer/ChangeLog +++ b/composer/ChangeLog @@ -1,3 +1,8 @@ +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. + 2003-01-08 Ettore Perazzoli <ettore@ximian.com> * Makefile.am: Icons are now in $(datadir)/evolution/images 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; |