diff options
author | Not Zed <NotZed@Ximian.com> | 2002-11-13 17:53:36 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2002-11-13 17:53:36 +0800 |
commit | 02237b6f44db7e1169073bfd302a4cda41f613db (patch) | |
tree | 6a0b9df411ab0b6316bf8f5888040a7f0e43c388 /mail/component-factory.c | |
parent | 836029eadc5ee33f809e25fca030d172497c81fc (diff) | |
download | gsoc2013-evolution-02237b6f44db7e1169073bfd302a4cda41f613db.tar.gz gsoc2013-evolution-02237b6f44db7e1169073bfd302a4cda41f613db.tar.zst gsoc2013-evolution-02237b6f44db7e1169073bfd302a4cda41f613db.zip |
destroy->weak ref. (owner_set_cb): shell client changes.
2002-11-13 Not Zed <NotZed@Ximian.com>
* component-factory.c (owner_set_cb): destroy->weak ref.
(owner_set_cb): shell client changes.
* mail-signature-editor.c (mail_signature_editor): bonobo api changes.
* mail-local.c (save_metainfo): go back to using xmlSaveFile.
* Makefile.am: Removed libevolution-importer from mail.
svn path=/trunk/; revision=18736
Diffstat (limited to 'mail/component-factory.c')
-rw-r--r-- | mail/component-factory.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mail/component-factory.c b/mail/component-factory.c index fe10799347..2efe6dc87b 100644 --- a/mail/component-factory.c +++ b/mail/component-factory.c @@ -752,7 +752,7 @@ owner_set_cb (EvolutionShellComponent *shell_component, /* FIXME: should we ref this? */ global_shell_client = shell_client; - g_signal_connect(shell_client, "destroy", G_CALLBACK(shell_client_destroy), NULL); + g_object_weak_ref(G_OBJECT(shell_client), (GWeakNotify *)shell_client_destroy, NULL); evolution_dir = g_strdup (evolution_homedir); mail_session_init (); @@ -761,7 +761,7 @@ owner_set_cb (EvolutionShellComponent *shell_component, storages_hash = g_hash_table_new (NULL, NULL); - corba_shell = bonobo_object_corba_objref (BONOBO_OBJECT (shell_client)); + corba_shell = evolution_shell_client_corba_objref(shell_client); for (i = 0; i < sizeof (standard_folders) / sizeof (standard_folders[0]); i++) *standard_folders[i].uri = g_strdup_printf ("file://%s/local/%s", evolution_dir, standard_folders[i].name); |