diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2003-02-11 03:50:55 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2003-02-11 03:50:55 +0800 |
commit | 0701addc195c6315474346c9bd062dc7dc84f80c (patch) | |
tree | 3306df04d1b6995eee80aa8fbabe617507dcb145 /mail/message-list.c | |
parent | 33841eb730d8a62aee6793dd54e624281bf58142 (diff) | |
download | gsoc2013-evolution-0701addc195c6315474346c9bd062dc7dc84f80c.tar gsoc2013-evolution-0701addc195c6315474346c9bd062dc7dc84f80c.tar.gz gsoc2013-evolution-0701addc195c6315474346c9bd062dc7dc84f80c.tar.bz2 gsoc2013-evolution-0701addc195c6315474346c9bd062dc7dc84f80c.tar.lz gsoc2013-evolution-0701addc195c6315474346c9bd062dc7dc84f80c.tar.xz gsoc2013-evolution-0701addc195c6315474346c9bd062dc7dc84f80c.tar.zst gsoc2013-evolution-0701addc195c6315474346c9bd062dc7dc84f80c.zip |
Use g_signal_emit() rather than gtk_signal_emit(). (build_flat): Same
2003-02-10 Jeffrey Stedfast <fejj@ximian.com>
* message-list.c (build_tree): Use g_signal_emit() rather than
gtk_signal_emit().
(build_flat): Same here.
* mail-signature-editor.c: #include <string.h>
* mail-vfolder.c: #include <string.h>
* mail-session.c: #include <string.h>
* mail-search.c: #include <string.h>
* mail-mt.c: #include <string.h>
* mail-ops.c (save_part_save): Use strcasecmp() instead of
g_strcasecmp().
* mail-local.c: #include <string.h>
(reconfigure_folder_reconfigured): Use a GtkDialog instead of
gnome_error_dialog().
* mail-format.c (find_preferred_alternative): Use g_ascii_strdown
since g_strdown is deprecated.
(fake_mime_part_from_data): Removed, no longer used it seems.
(destroy_part): Also removed.
* mail-display.c (make_popup_window): Replace call to
gtk_window_set_polociy() with gtk_window_set_resizable() instead.
(popup_size_allocate_cb): Use gtk_window_set_position() with
GTK_WIN_POS_MOUSE instead of calculating the position to put it
in.
svn path=/trunk/; revision=19878
Diffstat (limited to 'mail/message-list.c')
-rw-r--r-- | mail/message-list.c | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/mail/message-list.c b/mail/message-list.c index 4223dbdcc9..09645debe4 100644 --- a/mail/message-list.c +++ b/mail/message-list.c @@ -1588,19 +1588,19 @@ build_tree (MessageList *ml, CamelFolderThread *thread, CamelFolderChangeInfo *c #endif if (saveuid) { - ETreePath *node = g_hash_table_lookup(ml->uid_nodemap, saveuid); + ETreePath *node = g_hash_table_lookup (ml->uid_nodemap, saveuid); if (node == NULL) { - g_free(ml->cursor_uid); + g_free (ml->cursor_uid); ml->cursor_uid = NULL; - gtk_signal_emit((GtkObject *)ml, message_list_signals[MESSAGE_SELECTED], NULL); + g_signal_emit (ml, message_list_signals[MESSAGE_SELECTED], 0, NULL); } else { - e_tree_set_cursor(ml->tree, node); + e_tree_set_cursor (ml->tree, node); } - g_free(saveuid); - } else if (ml->cursor_uid && !g_hash_table_lookup(ml->uid_nodemap, ml->cursor_uid)) { - g_free(ml->cursor_uid); + g_free (saveuid); + } else if (ml->cursor_uid && !g_hash_table_lookup (ml->uid_nodemap, ml->cursor_uid)) { + g_free (ml->cursor_uid); ml->cursor_uid = NULL; - gtk_signal_emit((GtkObject *)ml, message_list_signals[MESSAGE_SELECTED], NULL); + g_signal_emit (ml, message_list_signals[MESSAGE_SELECTED], 0, NULL); } #ifdef TIMEIT @@ -1905,13 +1905,13 @@ build_flat (MessageList *ml, GPtrArray *summary, CamelFolderChangeInfo *changes) if (saveuid) { ETreePath *node = g_hash_table_lookup(ml->uid_nodemap, saveuid); if (node == NULL) { - g_free(ml->cursor_uid); + g_free (ml->cursor_uid); ml->cursor_uid = NULL; - gtk_signal_emit((GtkObject *)ml, message_list_signals[MESSAGE_SELECTED], NULL); + g_signal_emit (ml, message_list_signals[MESSAGE_SELECTED], 0, NULL); } else { - e_tree_set_cursor(ml->tree, node); + e_tree_set_cursor (ml->tree, node); } - g_free(saveuid); + g_free (saveuid); } #ifdef TIMEIT |