Index: gailnotebookpage.c
===================================================================
RCS file: /cvs/gnome/gail/gail/gailnotebookpage.c,v
retrieving revision 1.25
diff -u -p -r1.25 gailnotebookpage.c
--- gailnotebookpage.c	19 May 2004 14:11:25 -0000	1.25
+++ gailnotebookpage.c	31 May 2004 15:23:32 -0000
@@ -810,6 +810,9 @@ get_label_from_notebook_page (GailNotebo
   if (!notebook)
     return NULL;
 
+  if (!gtk_notebook_get_show_tabs (notebook))
+    return NULL;
+
   child = gtk_notebook_get_nth_page (notebook, page->index);
   g_return_val_if_fail (GTK_IS_WIDGET (child), NULL);
 
