aboutsummaryrefslogtreecommitdiff
path: root/src/inc.c
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2008-12-11 04:38:51 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2008-12-11 04:38:51 +0000
commit3a94beb958a609c953a03d37b3ecf553c5782803 (patch)
tree93373de73733d2ba8adc1a374298a15c66dd9f46 /src/inc.c
parent1530b222bda57a53255e31784c0f3357a0af3829 (diff)
renamed/removed MSGBUFSIZE.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@2091 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'src/inc.c')
-rw-r--r--src/inc.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/inc.c b/src/inc.c
index 39ab8f28..8b76f26f 100644
--- a/src/inc.c
+++ b/src/inc.c
@@ -68,8 +68,6 @@ static GdkPixbuf *current_pixbuf;
static GdkPixbuf *error_pixbuf;
static GdkPixbuf *ok_pixbuf;
-#define MSGBUFSIZE 8192
-
static void inc_finished (MainWindow *mainwin,
gint new_messages);
@@ -958,7 +956,7 @@ static void inc_progress_dialog_set_label(IncProgressDialog *inc_dialog,
#if 0
if (session->msg[session->cur_msg].recv_time <
session->current_time) {
- gchar buf[MSGBUFSIZE];
+ gchar buf[BUFFSIZE];
g_snprintf(buf, sizeof(buf), _("Deleting message %d"),
session->cur_msg);
progress_dialog_set_label(dialog, buf);
@@ -976,7 +974,7 @@ static void inc_progress_dialog_set_label(IncProgressDialog *inc_dialog,
static void inc_progress_dialog_set_progress(IncProgressDialog *inc_dialog,
IncSession *inc_session)
{
- gchar buf[MSGBUFSIZE];
+ gchar buf[BUFFSIZE];
Pop3Session *pop3_session = POP3_SESSION(inc_session->session);
gchar *total_size_str;
gint64 cur_total;