summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2010-11-29 22:08:09 -0500
committerMatthias Clasen <mclasen@redhat.com>2010-11-30 11:36:34 -0500
commitbdeba634d951b961c713afeccb5c16c61591f894 (patch)
tree5663b2ee23770a7a3333498d235d599aa4887180
parent117e88646f851cd25d5450f078895ae8ece94b47 (diff)
downloadgtk+-bdeba634d951b961c713afeccb5c16c61591f894.tar.gz
Update checkmenuitem docs slightly
-rw-r--r--docs/reference/gtk/tmpl/gtkcheckmenuitem.sgml20
1 files changed, 4 insertions, 16 deletions
diff --git a/docs/reference/gtk/tmpl/gtkcheckmenuitem.sgml b/docs/reference/gtk/tmpl/gtkcheckmenuitem.sgml
index 51ddf14584..5c93084197 100644
--- a/docs/reference/gtk/tmpl/gtkcheckmenuitem.sgml
+++ b/docs/reference/gtk/tmpl/gtkcheckmenuitem.sgml
@@ -30,20 +30,8 @@ toggles the value.
<!-- ##### STRUCT GtkCheckMenuItem ##### -->
<para>
-The #GtkCheckMenuItem-struct struct contains the following fields.
-(These fields should be considered read-only. They should never be set by
-an application.)
-
-<informaltable pgwide="1" frame="none" role="struct">
-<tgroup cols="2"><colspec colwidth="2*"/><colspec colwidth="8*"/>
-<tbody>
-
-<row>
-<entry>#guint active;</entry>
-<entry>TRUE if the check box is active.</entry>
-</row>
-
-</tbody></tgroup></informaltable>
+The #GtkCheckMenuItem-struct struct contains only private fields that
+should not be directly accessed.
</para>
@@ -53,8 +41,8 @@ This signal is emitted when the state of the check box is changed.
</para>
<para>
-A signal handler can examine the <structfield>active</structfield>
-field of the #GtkCheckMenuItem-struct struct to discover the new state.
+A signal handler can use gtk_check_menu_item_get_active()
+to discover the new state.
</para>
@checkmenuitem: the object which received the signal.