From e3713d58cd3284d9d316cd6780cfc02af29fed54 Mon Sep 17 00:00:00 2001 From: Not Zed Date: Tue, 19 Nov 2002 05:03:29 +0000 Subject: fix warning message, outlook->mbox. 2002-11-19 Not Zed * importers/evolution-mbox-importer.c (mail_importer_module_init): fix warning message, outlook->mbox. * importers/Makefile.am: fix serverdir to point to $libdir/bonobo/servers. * mail-callbacks.c (addrbook_sender): add type to bonobo_widget_set_property. * mail-vfolder.c (vfolder_editor_response): dont unref after destroy. * mail-session.c (pass_response): dont unref aftrer destroy. * mail-local.c (reconfigure_response): dont unref after destroy. * mail-display.c (launch_cb): dont unref after destroy. (launch_cb): " (drag_data_get_cb): " (html_button_press_event): add type to bonobo_widget::set_property * mail-config.c (mail_config_check_service): dont unref after destroy. * component-factory.c (send_receive_cb): dont unref after destroy. (request_quit): " * mail-signature-editor.c (mail_signature_editor): Use version 3.0 of gtkhtml editor interfaces. (do_exit): dont unref after destroy. (format_html_cb): Add type to bonobo_widget::set_property. svn path=/trunk/; revision=18837 --- mail/mail-signature-editor.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'mail/mail-signature-editor.c') diff --git a/mail/mail-signature-editor.c b/mail/mail-signature-editor.c index a78804987a..96921aa23d 100644 --- a/mail/mail-signature-editor.c +++ b/mail/mail-signature-editor.c @@ -181,7 +181,6 @@ do_exit (ESignatureEditor *editor) button = gtk_dialog_run((GtkDialog *)dialog); gtk_widget_destroy(dialog); - g_object_unref(dialog); exit_dialog_cb (button, editor); } else @@ -302,7 +301,7 @@ format_html_cb (BonoboUIComponent *component, return; editor->html = atoi (state); - bonobo_widget_set_property (BONOBO_WIDGET (editor->control), "FormatHTML", editor->html, NULL); + bonobo_widget_set_property (BONOBO_WIDGET (editor->control), "FormatHTML", TC_CORBA_boolean, editor->html, NULL); } void @@ -333,11 +332,11 @@ mail_signature_editor (MailConfigSignature *sig) bonobo_ui_component_add_verb_list_with_data (component, verbs, editor); bonobo_ui_util_set_ui (component, EVOLUTION_DATADIR, "evolution-signature-editor.xml", "evolution-signature-editor", NULL); - editor->control = bonobo_widget_new_control ("OAFIID:GNOME_GtkHTML_Editor:1.1", + editor->control = bonobo_widget_new_control ("OAFIID:GNOME_GtkHTML_Editor:3.0", bonobo_ui_component_get_container (component)); if (editor->control == NULL) { - g_warning ("Cannot get 'OAFIID:GNOME_GtkHTML_Editor:1.1'."); + g_warning ("Cannot get 'OAFIID:GNOME_GtkHTML_Editor:3.0'."); destroy_editor (editor); return; @@ -376,7 +375,7 @@ mail_signature_editor (MailConfigSignature *sig) gtk_box_pack_start_defaults (GTK_BOX (vbox), editor->control); bonobo_window_set_contents (BONOBO_WINDOW (editor->win), vbox); - bonobo_widget_set_property (BONOBO_WIDGET (editor->control), "FormatHTML", editor->html, NULL); + bonobo_widget_set_property (BONOBO_WIDGET (editor->control), "FormatHTML", TC_CORBA_boolean, editor->html, NULL); gtk_widget_show (GTK_WIDGET (editor->win)); gtk_widget_show (GTK_WIDGET (editor->control)); -- cgit v1.2.3