aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2005-01-25 11:15:54 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2005-01-25 11:15:54 +0000
commitfe5e7d7f82d82dc82d045fca77b00af5308d4bf2 (patch)
treeec9e6b92d507feda9ff9854a90f6a33d72909d30
parent80ce4c1f69c088289c3c67408c820a03d0b04055 (diff)
removed a warning.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@40 ee746299-78ed-0310-b773-934348b2243d
-rw-r--r--ChangeLog5
-rw-r--r--ChangeLog.ja5
-rw-r--r--src/inc.c3
3 files changed, 12 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 2e4e4363..2c6796db 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2005-01-25
+ * src/inc.c: inc_finished(): removed warning when updating a
+ folder item while no folder is selected.
+
+2005-01-25
+
* src/gtkutils.[ch]: gtkut_get_default_font_desc(): returns default
font_desc.
* src/prefs_common.[ch]
diff --git a/ChangeLog.ja b/ChangeLog.ja
index b7ee7b05..bc1c0775 100644
--- a/ChangeLog.ja
+++ b/ChangeLog.ja
@@ -1,5 +1,10 @@
2005-01-25
+ * src/inc.c: inc_finished(): フォルダが選択されていないときに
+ フォルダアイテムを更新しようとしたときの警告を除去。
+
+2005-01-25
+
* src/gtkutils.[ch]: gtkut_get_default_font_desc(): デフォルトの
font_desc を返す。
* src/prefs_common.[ch]
diff --git a/src/inc.c b/src/inc.c
index a8373999..dea36cfe 100644
--- a/src/inc.c
+++ b/src/inc.c
@@ -168,7 +168,8 @@ static void inc_finished(MainWindow *mainwin, gboolean new_messages)
folderview_select(mainwin->folderview, item);
} else if (prefs_common.scan_all_after_inc) {
item = mainwin->summaryview->folder_item;
- folderview_update_item(item, TRUE);
+ if (item)
+ folderview_update_item(item, TRUE);
}
}