aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2002-11-15 17:16:43 +0800
committerMichael Zucci <zucchi@src.gnome.org>2002-11-15 17:16:43 +0800
commit83f7ad5ed8e7b80986b56b891293db7a2d0b5514 (patch)
treef7a33664b888760716b3329ef1876b7d666ca8ea
parent868a2d664a8ac9d5b9d51833e47c2fe4b7b011d8 (diff)
downloadgsoc2013-evolution-83f7ad5ed8e7b80986b56b891293db7a2d0b5514.tar.gz
gsoc2013-evolution-83f7ad5ed8e7b80986b56b891293db7a2d0b5514.tar.zst
gsoc2013-evolution-83f7ad5ed8e7b80986b56b891293db7a2d0b5514.zip
weak notify -> ref.
2002-11-15 Not Zed <NotZed@Ximian.com> * 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
-rw-r--r--mail/ChangeLog9
-rw-r--r--mail/mail-accounts.c2
-rw-r--r--mail/mail-send-recv.c2
-rw-r--r--mail/mail-summary.c2
4 files changed, 12 insertions, 3 deletions
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 <NotZed@Ximian.com>
+
+ * 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 <fejj@ximian.com>
* 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);