aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-search.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2002-11-15 07:26:55 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2002-11-15 07:26:55 +0800
commit4ff0a43cd48adc7cdc98be078cdfbc425aa7e8b0 (patch)
treedb724db4e864ce41a136ab6820559346c9cd9fe0 /mail/mail-search.c
parent334b42bda165b9cfd18f60f60742f850f9154c2e (diff)
downloadgsoc2013-evolution-4ff0a43cd48adc7cdc98be078cdfbc425aa7e8b0.tar
gsoc2013-evolution-4ff0a43cd48adc7cdc98be078cdfbc425aa7e8b0.tar.gz
gsoc2013-evolution-4ff0a43cd48adc7cdc98be078cdfbc425aa7e8b0.tar.bz2
gsoc2013-evolution-4ff0a43cd48adc7cdc98be078cdfbc425aa7e8b0.tar.lz
gsoc2013-evolution-4ff0a43cd48adc7cdc98be078cdfbc425aa7e8b0.tar.xz
gsoc2013-evolution-4ff0a43cd48adc7cdc98be078cdfbc425aa7e8b0.tar.zst
gsoc2013-evolution-4ff0a43cd48adc7cdc98be078cdfbc425aa7e8b0.zip
Use g_object_weak_ref rather than connecting to destroy.
2002-11-14 Jeffrey Stedfast <fejj@ximian.com> * mail-accounts.c (account_edit_clicked): Use g_object_weak_ref rather than connecting to destroy. (account_add_clicked): Same. * mail-callbacks.c (addrbook_sender): Make this use g_object_weak_notify also. (subscribe_dialog_destroy): Add NULL guards here since I think we really do want to connect to the "destroy" signal in the function that connects us to that signal. * mail-config-factory.c (config_control_factory_cb): Same. * mail-display.c (save_part): Here too. (make_popup_window): And here. * mail-send-recv.c (build_dialogue): Same here. * mail-summary.c (create_summary_view): Use g_object_weak_notify instead of connecting to the destroy signal. svn path=/trunk/; revision=18764
Diffstat (limited to 'mail/mail-search.c')
-rw-r--r--mail/mail-search.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mail/mail-search.c b/mail/mail-search.c
index 4ca999bb9c..4d7a4c4ed6 100644
--- a/mail/mail-search.c
+++ b/mail/mail-search.c
@@ -171,7 +171,7 @@ toggled_fwd_cb (GtkToggleButton *b, MailSearch *ms)
#endif
static void
-dialog_destroy_cb (GtkWidget *w, MailSearch *ms)
+dialog_destroy_cb (GtkWidget *w, MailSearch *ms)
{
ESearchingTokenizer *st = mail_search_tokenizer (ms);