diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2003-02-23 13:03:18 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2003-02-23 13:03:18 +0800 |
commit | 59796eb93c1eeaf5c53559f1424e795da4f137a6 (patch) | |
tree | 0f74d3bc9462cb416b9d53f83b1ec312d080faa0 /mail/mail-search-dialogue.c | |
parent | 1247dfa0f36b97099863ea202221e0604bdd311f (diff) | |
download | gsoc2013-evolution-59796eb93c1eeaf5c53559f1424e795da4f137a6.tar gsoc2013-evolution-59796eb93c1eeaf5c53559f1424e795da4f137a6.tar.gz gsoc2013-evolution-59796eb93c1eeaf5c53559f1424e795da4f137a6.tar.bz2 gsoc2013-evolution-59796eb93c1eeaf5c53559f1424e795da4f137a6.tar.lz gsoc2013-evolution-59796eb93c1eeaf5c53559f1424e795da4f137a6.tar.xz gsoc2013-evolution-59796eb93c1eeaf5c53559f1424e795da4f137a6.tar.zst gsoc2013-evolution-59796eb93c1eeaf5c53559f1424e795da4f137a6.zip |
New overloaded virtual method, does what dialog_destroy_cb was trying to
2003-02-23 Jeffrey Stedfast <fejj@ximian.com>
* mail-search.c (mail_search_destroy): New overloaded virtual
method, does what dialog_destroy_cb was trying to do.
(mail_search_construct): Connect to the "response" signal rather
than "clicked" to correspond to the GtkDialog API
(instead og the old GnomeDialog API).
(dialog_response_cb): Changed the function name and made it check
button == GTK_RESPONSE_ACCEPT to search, any other button
closes. Fixes bug #37947.
svn path=/trunk/; revision=20005
Diffstat (limited to 'mail/mail-search-dialogue.c')
-rw-r--r-- | mail/mail-search-dialogue.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/mail/mail-search-dialogue.c b/mail/mail-search-dialogue.c index a00eaa0f92..0a692b1ec3 100644 --- a/mail/mail-search-dialogue.c +++ b/mail/mail-search-dialogue.c @@ -1,5 +1,6 @@ +/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ /* - * Copyright (C) 2000, 2001 Ximian, Inc. + * Copyright (C) 2000, 2003 Ximian, Inc. * * Authors: Not Zed <notzed@lostzed.mmc.com.au> * @@ -159,7 +160,7 @@ mail_search_dialogue_new_with_rule (FilterRule *rule) { MailSearchDialogue *o = (MailSearchDialogue *)g_object_new (mail_search_dialogue_get_type (), NULL); if (rule) - g_object_ref((rule)); + g_object_ref (rule); mail_search_dialogue_construct (o, rule); return o; } |