diff options
author | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2007-01-18 02:52:39 +0000 |
---|---|---|
committer | hiro <hiro@ee746299-78ed-0310-b773-934348b2243d> | 2007-01-18 02:52:39 +0000 |
commit | f4076318c277f2a208dd1b2e1122907c2c456482 (patch) | |
tree | 283ab14102a275bf3be6484aff83d437aa50bbe2 | |
parent | a180370d2eb17006ef9b3df030445a30de6c2c89 (diff) |
textview_clear(): made a workaround for the assertion failure in gtk_text_view_validate_onscreen().
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@1494 ee746299-78ed-0310-b773-934348b2243d
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | ChangeLog.ja | 12 | ||||
-rw-r--r-- | src/textview.c | 4 |
3 files changed, 21 insertions, 0 deletions
@@ -1,3 +1,8 @@ +2007-01-18 + + * src/textview.c: textview_clear(): made a workaround for the assertion + failure in gtk_text_view_validate_onscreen(). + 2007-01-17 * libsylph/filter.c: filter_apply_msginfo(): return immediately if diff --git a/ChangeLog.ja b/ChangeLog.ja index 014f377b..413afccf 100644 --- a/ChangeLog.ja +++ b/ChangeLog.ja @@ -1,3 +1,15 @@ +2007-01-18 + + * src/textview.c: textview_clear(): gtk_text_view_validate_onscreen() + 内での assertion 失敗を回避。 + +2007-01-17 + + * libsylph/filter.c: filter_apply_msginfo(): procmsg_get_message_file() + が失敗したらすぐに戻るようにした。 + * libsylph/imap.c: imap_get_msg_list_full(): uncached_only の場合は + NULL を返すようにした。 + 2007-01-17 * libsylph/virtual.c: virtual class 構造体を修正。 diff --git a/src/textview.c b/src/textview.c index d6b2e269..051e8f3a 100644 --- a/src/textview.c +++ b/src/textview.c @@ -1256,6 +1256,10 @@ void textview_clear(TextView *textview) buffer = gtk_text_view_get_buffer(text); gtk_text_buffer_set_text(buffer, "", -1); + /* workaround for the assertion failure in + gtk_text_view_validate_onscreen() */ + text->vadjustment->value = 0.0; + STATUSBAR_POP(textview); textview_uri_list_remove_all(textview->uri_list); textview->uri_list = NULL; |