aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2009-05-24 23:54:43 +0800
committerMatthew Barnes <mbarnes@redhat.com>2009-05-25 00:43:11 +0800
commit2393a5d17e92435cb3d7726b04ff6f4a5c27c8db (patch)
treec69db32dede1ce4e8bc233dc7c5ef83799b258dd /mail
parent7702ac84d7e02093881d5a139398b1615e4070ac (diff)
downloadgsoc2013-evolution-2393a5d17e92435cb3d7726b04ff6f4a5c27c8db.tar
gsoc2013-evolution-2393a5d17e92435cb3d7726b04ff6f4a5c27c8db.tar.gz
gsoc2013-evolution-2393a5d17e92435cb3d7726b04ff6f4a5c27c8db.tar.bz2
gsoc2013-evolution-2393a5d17e92435cb3d7726b04ff6f4a5c27c8db.tar.lz
gsoc2013-evolution-2393a5d17e92435cb3d7726b04ff6f4a5c27c8db.tar.xz
gsoc2013-evolution-2393a5d17e92435cb3d7726b04ff6f4a5c27c8db.tar.zst
gsoc2013-evolution-2393a5d17e92435cb3d7726b04ff6f4a5c27c8db.zip
Eliminate redundant E_ICON_SIZE_* enumeration.
Diffstat (limited to 'mail')
-rw-r--r--mail/em-format-html-display.c2
-rw-r--r--mail/em-format-html.c2
-rw-r--r--mail/message-list.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/mail/em-format-html-display.c b/mail/em-format-html-display.c
index 6faa6ae803..1cc7d43175 100644
--- a/mail/em-format-html-display.c
+++ b/mail/em-format-html-display.c
@@ -783,7 +783,7 @@ efhd_message_prefix(EMFormat *emf, CamelStream *stream, CamelMimePart *part, EMF
camel_stream_printf(stream, "<table border=1 width=\"100%%\" cellspacing=2 cellpadding=2><tr>");
comp = camel_folder_get_message_user_tag(emf->folder, emf->uid, "completed-on");
- iconpath = e_icon_factory_get_icon_filename (comp && comp[0] ? "stock_flag-for-followup-done" : "stock_flag-for-followup", E_ICON_SIZE_MENU);
+ iconpath = e_icon_factory_get_icon_filename (comp && comp[0] ? "stock_flag-for-followup-done" : "stock_flag-for-followup", GTK_ICON_SIZE_MENU);
if (iconpath) {
CamelMimePart *iconpart;
diff --git a/mail/em-format-html.c b/mail/em-format-html.c
index fae1566876..cbf90a9214 100644
--- a/mail/em-format-html.c
+++ b/mail/em-format-html.c
@@ -1503,7 +1503,7 @@ efh_format_secure(EMFormat *emf, CamelStream *stream, CamelMimePart *part, Camel
icon = smime_sign_table[valid->sign.status].icon;
else
icon = smime_encrypt_table[valid->encrypt.status].icon;
- iconpath = e_icon_factory_get_icon_filename(icon, E_ICON_SIZE_DIALOG);
+ iconpath = e_icon_factory_get_icon_filename(icon, GTK_ICON_SIZE_DIALOG);
iconpart = em_format_html_file_part((EMFormatHTML *)emf, "image/png", iconpath);
if (iconpart) {
(void)em_format_add_puri(emf, sizeof(EMFormatPURI), classid, iconpart, efh_write_image);
diff --git a/mail/message-list.c b/mail/message-list.c
index 2a72fe98eb..e970a09a7d 100644
--- a/mail/message-list.c
+++ b/mail/message-list.c
@@ -1721,7 +1721,7 @@ message_list_init_images (void)
for (i = 0; i < G_N_ELEMENTS (states_pixmaps); i++) {
if (states_pixmaps[i].icon_name)
- states_pixmaps[i].pixbuf = e_icon_factory_get_icon (states_pixmaps[i].icon_name, E_ICON_SIZE_MENU);
+ states_pixmaps[i].pixbuf = e_icon_factory_get_icon (states_pixmaps[i].icon_name, GTK_ICON_SIZE_MENU);
else
states_pixmaps[i].pixbuf = gdk_pixbuf_new_from_xpm_data ((const char **) empty_xpm);
}