diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2002-12-18 04:38:25 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2002-12-18 04:38:25 +0800 |
commit | f37b0a1ab7d9dd437905d10d85410992ad9abc0a (patch) | |
tree | c8d13292527ab275073420046acb7f786b4a4008 /mail/mail-search-dialogue.c | |
parent | e446a3dd9f6f82ef7152a98740092cb1c94af65c (diff) | |
download | gsoc2013-evolution-f37b0a1ab7d9dd437905d10d85410992ad9abc0a.tar.gz gsoc2013-evolution-f37b0a1ab7d9dd437905d10d85410992ad9abc0a.tar.zst gsoc2013-evolution-f37b0a1ab7d9dd437905d10d85410992ad9abc0a.zip |
...And a whole bunch more build fixes.
2002-12-17 Jeffrey Stedfast <fejj@ximian.com>
...And a whole bunch more build fixes.
* mail-vfolder.c (mail_vfolder_delete_uri): Don't use
g_string_sprintfa() anymore since it is apparently deprecated.
* mail-session.c (main_get_filter_driver): Don't use
g_string_sprintfa() anymore since it is apparently deprecated.
* mail-ops.c (build_from): Don't use g_string_sprintfa() anymore
since it is apparently deprecated.
* mail-callbacks.c (ask_confirm_for_unwanted_html_mail): Don't use
g_string_sprintfa() anymore since it is apparently deprecated.
* mail-autofilter.c: Don't use g_string_sprintfa() anymore since
it is apparently deprecated.
* folder-browser.c: Don't use g_string_sprintfa() anymore since it
is apparently deprecated.
* mail-search.c (mail_search_set_subject): Remove the unnecessary
g_strdup()'age as well as fix a possible buffer overrun.
* mail-local.c (mail_local_folder_construct): Use
g_path_get_basename().
* mail-config-druid.c (make_account): Don't use e_utf8_*
functions.
svn path=/trunk/; revision=19152
Diffstat (limited to 'mail/mail-search-dialogue.c')
-rw-r--r-- | mail/mail-search-dialogue.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/mail/mail-search-dialogue.c b/mail/mail-search-dialogue.c index c15c3fd598..1bce657546 100644 --- a/mail/mail-search-dialogue.c +++ b/mail/mail-search-dialogue.c @@ -37,25 +37,25 @@ static void mail_search_dialogue_finalise (GObject *obj); static GtkDialogClass *parent_class; -guint +GType mail_search_dialogue_get_type (void) { static GType type = 0; if (!type) { - GTypeInfo type_info = { - sizeof(MailSearchDialogueClass), - NULL, - NULL, - (GClassInitFunc)mail_search_dialogue_class_init, - NULL, - NULL, - sizeof(MailSearchDialogue), + static const GTypeInfo info = { + sizeof (MailSearchDialogueClass), + NULL, /* base_class_init */ + NULL, /* base_class_finalize */ + (GClassInitFunc) mail_search_dialogue_class_init, + NULL, /* class_finalize */ + NULL, /* class_data */ + sizeof (MailSearchDialogue), 0, - (GtkObjectInitFunc)mail_search_dialogue_init, + (GInstanceInitFunc) mail_search_dialogue_init, }; - type = g_type_register_static (gtk_dialog_get_type (), "MailSearchDialogue", &type_info, 0); + type = g_type_register_static (gtk_dialog_get_type (), "MailSearchDialogue", &info, 0); } return type; |