From 83f7ad5ed8e7b80986b56b891293db7a2d0b5514 Mon Sep 17 00:00:00 2001 From: Not Zed Date: Fri, 15 Nov 2002 09:16:43 +0000 Subject: weak notify -> ref. 2002-11-15 Not Zed * mail-summary.c (create_summary_view): weak notify -> ref. * mail-send-recv.c (build_dialogue): weak notify -> ref. * mail-accounts.c (account_edit_clicked): weak notify -> ref, i presume this is what jeff meant, 'cause it dont compile otherwise. svn path=/trunk/; revision=18778 --- mail/ChangeLog | 9 +++++++++ mail/mail-accounts.c | 2 +- mail/mail-send-recv.c | 2 +- mail/mail-summary.c | 2 +- 4 files changed, 12 insertions(+), 3 deletions(-) (limited to 'mail') diff --git a/mail/ChangeLog b/mail/ChangeLog index 946ec61033..5bf00777a6 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,12 @@ +2002-11-15 Not Zed + + * mail-summary.c (create_summary_view): weak notify -> ref. + + * mail-send-recv.c (build_dialogue): weak notify -> ref. + + * mail-accounts.c (account_edit_clicked): weak notify -> ref, i + presume this is what jeff meant, 'cause it dont compile otherwise. + 2002-11-14 Jeffrey Stedfast * mail-accounts.c (account_edit_clicked): Use g_object_weak_ref diff --git a/mail/mail-accounts.c b/mail/mail-accounts.c index 550017a543..7e630aeda1 100644 --- a/mail/mail-accounts.c +++ b/mail/mail-accounts.c @@ -190,7 +190,7 @@ account_edit_clicked (GtkButton *button, gpointer user_data) account = gtk_clist_get_row_data (prefs->table, row); #endif prefs->editor = (GtkWidget *) mail_account_editor_new (account, GTK_WINDOW (window), prefs); - g_object_weak_notify ((GObject *) prefs->editor, (GWeakNotify) account_edit_finished, prefs); + g_object_weak_ref ((GObject *) prefs->editor, (GWeakNotify) account_edit_finished, prefs); gtk_widget_show (prefs->editor); g_object_ref (prefs); } diff --git a/mail/mail-send-recv.c b/mail/mail-send-recv.c index 3d049dd9c8..3d9e56f659 100644 --- a/mail/mail-send-recv.c +++ b/mail/mail-send-recv.c @@ -434,7 +434,7 @@ build_dialogue (GSList *sources, CamelFolder *outbox, const char *destination) g_signal_connect (gd, "response", G_CALLBACK (dialogue_response), data); - g_object_weak_notify ((GObject *) gd, (GWeakNotify) dialog_destroy_cb, data); + g_object_weak_ref ((GObject *) gd, (GWeakNotify) dialog_destroy_cb, data); data->infos = list; data->gd = gd; diff --git a/mail/mail-summary.c b/mail/mail-summary.c index 0ddaa6412f..5e3aaa1161 100644 --- a/mail/mail-summary.c +++ b/mail/mail-summary.c @@ -478,7 +478,7 @@ create_summary_view (ExecutiveSummaryComponentFactory *_factory, bonobo_object_add_interface (component, view); summary->view = view; - g_object_weak_notify ((GObject *) view, (GWeakNotify) view_destroy_cb, summary); + g_object_weak_ref ((GObject *) view, (GWeakNotify) view_destroy_cb, summary); bag = bonobo_property_bag_new_full (get_property, NULL, event_source, summary); -- cgit v1.2.3