[gtk+] Correct the documentation for how to set accessible names



commit 2379445c1d18af3dca9e059ab9f18d440c5ccbe8
Author: Matthias Clasen <mclasen redhat com>
Date:   Sun Feb 10 15:40:27 2013 -0500

    Correct the documentation for how to set accessible names
    
    The example in the GtkWidget docs was referring to a nonexisting
    AtkObject::name property. The correct property name is
    accessible-name.

 gtk/gtkwidget.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c
index d99ee55..8278f98 100644
--- a/gtk/gtkwidget.c
+++ b/gtk/gtkwidget.c
@@ -274,7 +274,7 @@
  *   </accessibility>
  *   <child internal-child="accessible">
  *     <object class="AtkObject" id="a11y-button1">
- *       <property name="AtkObject::name">Clickable Button</property>
+ *       <property name="accessible-name">Clickable Button</property>
  *     </object>
  *   </child>
  * </object>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]