[gtk+] Move documentation to inline comments: GtkImageMenuItem



commit f2fd3ee1d5eb664626a7fc4adc46cf3d8edc6e09
Author: Javier Jardón <jjardon gnome org>
Date:   Mon Apr 11 02:13:02 2011 +0100

    Move documentation to inline comments: GtkImageMenuItem

 docs/reference/gtk/tmpl/.gitignore            |    1 +
 docs/reference/gtk/tmpl/gtkimagemenuitem.sgml |  152 -------------------------
 gtk/gtkimagemenuitem.c                        |   11 ++
 3 files changed, 12 insertions(+), 152 deletions(-)
---
diff --git a/docs/reference/gtk/tmpl/.gitignore b/docs/reference/gtk/tmpl/.gitignore
index 6798cae..fcae2f5 100644
--- a/docs/reference/gtk/tmpl/.gitignore
+++ b/docs/reference/gtk/tmpl/.gitignore
@@ -31,6 +31,7 @@ gtkfixed.sgml
 gtkfilefilter.sgml
 gtkhbox.sgml
 gtkiconview.sgml
+gtkimagemenuitem.sgml
 gtkimcontextsimple.sgml
 gtkimmulticontext.sgml
 gtkitemfactory.sgml
diff --git a/gtk/gtkimagemenuitem.c b/gtk/gtkimagemenuitem.c
index 6d3a2d7..f3d60ea 100644
--- a/gtk/gtkimagemenuitem.c
+++ b/gtk/gtkimagemenuitem.c
@@ -42,6 +42,17 @@
 #include "gtkprivate.h"
 
 
+/**
+ * SECTION:gtkimagemenuitem
+ * @Short_description: A menu item with an icon
+ * @Title: GtkImageMenuItem
+ *
+ * A GtkImageMenuItem is a menu item which has an icon next to the text label.
+ *
+ * Note that the user can disable display of menu icons, so make sure to still
+ * fill in the text label.
+ */
+
 
 struct _GtkImageMenuItemPrivate
 {



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