[gtk+] Move documentation to inline comments: GtkSeparatorMenuItem



commit f121a502f9d7ff1a4449415c33a3257c81a27080
Author: Javier Jardón <jjardon gnome org>
Date:   Sun May 16 00:40:11 2010 +0200

    Move documentation to inline comments: GtkSeparatorMenuItem

 docs/reference/gtk/tmpl/.gitignore                |    1 +
 docs/reference/gtk/tmpl/gtkseparatormenuitem.sgml |   40 ---------------------
 gtk/gtkseparatormenuitem.c                        |   19 ++++++++++
 3 files changed, 20 insertions(+), 40 deletions(-)
---
diff --git a/docs/reference/gtk/tmpl/.gitignore b/docs/reference/gtk/tmpl/.gitignore
index 618a2dd..d1700d0 100644
--- a/docs/reference/gtk/tmpl/.gitignore
+++ b/docs/reference/gtk/tmpl/.gitignore
@@ -10,6 +10,7 @@ gtkradioaction.sgml
 gtkrecentaction.sgml
 gtkscalebutton.sgml
 gtkseparator.sgml
+gtkseparatormenuitem.sgml
 gtktesting.sgml
 gtktextiter.sgml
 gtktoggleaction.sgml
diff --git a/gtk/gtkseparatormenuitem.c b/gtk/gtkseparatormenuitem.c
index e59de23..d096b5f 100644
--- a/gtk/gtkseparatormenuitem.c
+++ b/gtk/gtkseparatormenuitem.c
@@ -28,6 +28,18 @@
 #include "gtkseparatormenuitem.h"
 #include "gtkalias.h"
 
+
+/**
+ * SECTION:gtkseparatormenuitem
+ * @Short_description: A separator used in menus
+ * @Title: GtkSeparatorMenuItem
+ *
+ * The #GtkSeparatorMenuItem is a separator used to group
+ * items within a menu. It displays a horizontal line with a shadow to
+ * make it appear sunken into the interface.
+ */
+
+
 G_DEFINE_TYPE (GtkSeparatorMenuItem, gtk_separator_menu_item, GTK_TYPE_MENU_ITEM)
 
 static void
@@ -41,6 +53,13 @@ gtk_separator_menu_item_init (GtkSeparatorMenuItem *item)
 {
 }
 
+/**
+ * gtk_separator_menu_item_new:
+ *
+ * Creates a new #GtkSeparatorMenuItem.
+ *
+ * Returns: a new #GtkSeparatorMenuItem.
+ */
 GtkWidget *
 gtk_separator_menu_item_new (void)
 {



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