summaryrefslogtreecommitdiff
path: root/modules/other
diff options
context:
space:
mode:
authorLi Yuan <li.yuan@sun.com>2008-11-24 06:33:34 +0000
committerLi Yuan <liyuan@src.gnome.org>2008-11-24 06:33:34 +0000
commit08b8150598059fb1ccdded44aa636da6a3f9e32e (patch)
tree7c48a19480c446c0c012db6290dc4a8e3d389977 /modules/other
parentabcd0078d202b7c9e562547da323b5e659bbb063 (diff)
downloadgtk+-08b8150598059fb1ccdded44aa636da6a3f9e32e.tar.gz
Bug #554002. Add cache's page count when add pages.
2008-11-24 Li Yuan <li.yuan@sun.com> * gailnotebook.c: (gail_notebook_page_added): Bug #554002. Add cache's page count when add pages. svn path=/trunk/; revision=21800
Diffstat (limited to 'modules/other')
-rw-r--r--modules/other/gail/ChangeLog5
-rw-r--r--modules/other/gail/gailnotebook.c1
2 files changed, 6 insertions, 0 deletions
diff --git a/modules/other/gail/ChangeLog b/modules/other/gail/ChangeLog
index dd474bf9c3..2d8474d802 100644
--- a/modules/other/gail/ChangeLog
+++ b/modules/other/gail/ChangeLog
@@ -1,3 +1,8 @@
+2008-11-24 Li Yuan <li.yuan@sun.com>
+
+ * gailnotebook.c: (gail_notebook_page_added):
+ Bug #554002. Add cache's page count when add pages.
+
2008-10-13 Matthias Clasen <mclasen@redhat.com>
Bug 555953 – libferret missing link against libgtk-x11
diff --git a/modules/other/gail/gailnotebook.c b/modules/other/gail/gailnotebook.c
index ce542279b5..8206f6689d 100644
--- a/modules/other/gail/gailnotebook.c
+++ b/modules/other/gail/gailnotebook.c
@@ -148,6 +148,7 @@ gail_notebook_page_added (GtkNotebook *gtk_notebook,
atk_obj = gtk_widget_get_accessible (GTK_WIDGET (gtk_notebook));
notebook = GAIL_NOTEBOOK (atk_obj);
create_notebook_page_accessible (notebook, gtk_notebook, page_num, FALSE, NULL);
+ notebook->page_count++;
}
static void