From 02237b6f44db7e1169073bfd302a4cda41f613db Mon Sep 17 00:00:00 2001 From: Not Zed Date: Wed, 13 Nov 2002 09:53:36 +0000 Subject: destroy->weak ref. (owner_set_cb): shell client changes. 2002-11-13 Not Zed * 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 --- mail/mail-signature-editor.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'mail/mail-signature-editor.c') diff --git a/mail/mail-signature-editor.c b/mail/mail-signature-editor.c index c6bdf5a53c..a78804987a 100644 --- a/mail/mail-signature-editor.c +++ b/mail/mail-signature-editor.c @@ -325,9 +325,8 @@ mail_signature_editor (MailConfigSignature *sig) editor->win = bonobo_window_new ("e-sig-editor", _("Edit signature")); gtk_window_set_default_size (GTK_WINDOW (editor->win), DEFAULT_WIDTH, DEFAULT_HEIGHT); g_object_set(editor->win, "allow_shrink", FALSE, "allow_grow", TRUE, NULL); - - container = bonobo_ui_container_new (); - bonobo_ui_container_set_win (container, BONOBO_WINDOW (editor->win)); + + container = bonobo_window_get_ui_container (BONOBO_WINDOW(editor->win)); component = bonobo_ui_component_new_default (); bonobo_ui_component_set_container (component, bonobo_object_corba_objref (BONOBO_OBJECT (container)), NULL); -- cgit