gtk-doc r571 - in trunk: . tests/gobject/docs tests/gobject/docs-tmpl tests/gobject/src



Author: stefkost
Date: Mon Jun  2 08:58:08 2008
New Revision: 571
URL: http://svn.gnome.org/viewvc/gtk-doc?rev=571&view=rev

Log:
	* tests/gobject/docs-tmpl/tester-docs.xml:
	* tests/gobject/docs-tmpl/tester-sections.txt:
	* tests/gobject/docs/tester-docs.xml:
	* tests/gobject/docs/tester-sections.txt:
	* tests/gobject/src/giface.c:
	* tests/gobject/src/gobject.c:
	* tests/gobject/src/gobject.h:
	  Add some since: tags for the tests too.



Modified:
   trunk/ChangeLog
   trunk/tests/gobject/docs-tmpl/tester-docs.xml
   trunk/tests/gobject/docs-tmpl/tester-sections.txt
   trunk/tests/gobject/docs/tester-docs.xml
   trunk/tests/gobject/docs/tester-sections.txt
   trunk/tests/gobject/src/giface.c
   trunk/tests/gobject/src/gobject.c
   trunk/tests/gobject/src/gobject.h

Modified: trunk/tests/gobject/docs-tmpl/tester-docs.xml
==============================================================================
--- trunk/tests/gobject/docs-tmpl/tester-docs.xml	(original)
+++ trunk/tests/gobject/docs-tmpl/tester-docs.xml	Mon Jun  2 08:58:08 2008
@@ -37,6 +37,12 @@
     <index id="deprecated-api-index" role="deprecated">
       <title>Index of deprecated API</title>
     </index>
+    <index id="api-index-0-1" role="0.1">
+      <title>Index of new API in 0.1</title>
+    </index>
+    <index id="api-index-0-5" role="0.5">
+      <title>Index of new API in 0.5</title>
+    </index>
   <!--/chapter-->
 
   <glossary>

Modified: trunk/tests/gobject/docs-tmpl/tester-sections.txt
==============================================================================
--- trunk/tests/gobject/docs-tmpl/tester-sections.txt	(original)
+++ trunk/tests/gobject/docs-tmpl/tester-sections.txt	Mon Jun  2 08:58:08 2008
@@ -5,6 +5,7 @@
 GtkdocObjectClass
 gtkdoc_object_new
 gtkdoc_object_set_otest
+gtkdoc_object_frobnicate
 GTKDOC_OBJECT_MACRO_DUMMY
 GTKDOC_OBJECT_MACRO_SUM
 <SUBSECTION Standard>

Modified: trunk/tests/gobject/docs/tester-docs.xml
==============================================================================
--- trunk/tests/gobject/docs/tester-docs.xml	(original)
+++ trunk/tests/gobject/docs/tester-docs.xml	Mon Jun  2 08:58:08 2008
@@ -37,6 +37,12 @@
     <index id="deprecated-api-index" role="deprecated">
       <title>Index of deprecated API</title>
     </index>
+    <index id="api-index-0-1" role="0.1">
+      <title>Index of new API in 0.1</title>
+    </index>
+    <index id="api-index-0-5" role="0.5">
+      <title>Index of new API in 0.5</title>
+    </index>
   <!--/chapter-->
 
   <glossary>

Modified: trunk/tests/gobject/docs/tester-sections.txt
==============================================================================
--- trunk/tests/gobject/docs/tester-sections.txt	(original)
+++ trunk/tests/gobject/docs/tester-sections.txt	Mon Jun  2 08:58:08 2008
@@ -5,6 +5,7 @@
 GtkdocObjectClass
 gtkdoc_object_new
 gtkdoc_object_set_otest
+gtkdoc_object_frobnicate
 GTKDOC_OBJECT_MACRO_DUMMY
 GTKDOC_OBJECT_MACRO_SUM
 <SUBSECTION Standard>

Modified: trunk/tests/gobject/src/giface.c
==============================================================================
--- trunk/tests/gobject/src/giface.c	(original)
+++ trunk/tests/gobject/src/giface.c	Mon Jun  2 08:58:08 2008
@@ -24,6 +24,8 @@
  * Configure a new instance
  *
  * Returns: %TRUE for sucess or %FALSE in case of an error
+ *
+ * Since: 0.1
  */
 gboolean gtkdoc_iface_configure (gchar *config) {
   return(TRUE);

Modified: trunk/tests/gobject/src/gobject.c
==============================================================================
--- trunk/tests/gobject/src/gobject.c	(original)
+++ trunk/tests/gobject/src/gobject.c	Mon Jun  2 08:58:08 2008
@@ -34,6 +34,8 @@
  * Create a new instance
  *
  * Returns: the instance or %NULL in case of an error
+ *
+ * Since: 0.1
  */
 GtkdocObject *gtkdoc_object_new (void) {
   return(NULL);
@@ -47,11 +49,25 @@
  * Set the #GtkdocObject:otest property.
  *
  * Deprecated: Use g_object_set(obj,&quot;otest&quot;,value,NULL); instead.
+ *
+ * Since: 0.5
  */
 void gtkdoc_object_set_otest (GObject *self, const gchar *value) {
   
 }
 
+/**
+ * gtkdoc_object_frobnicate:
+ * @self: the object
+ * @n: number of iterations
+ *
+ * Frobnicate the content of @self @n times.
+ *
+ * Since: 0.5
+ */
+void gtkdoc_object_frobnicate (GObject *self, gint n) {
+  
+}
 /* methods */
 
 /* class internals */

Modified: trunk/tests/gobject/src/gobject.h
==============================================================================
--- trunk/tests/gobject/src/gobject.h	(original)
+++ trunk/tests/gobject/src/gobject.h	Mon Jun  2 08:58:08 2008
@@ -57,6 +57,7 @@
 
 GtkdocObject *gtkdoc_object_new(void);
 void gtkdoc_object_set_otest (GObject *self, const gchar *value);
+void gtkdoc_object_frobnicate (GObject *self, gint n);
 
 /**
  * GTKDOC_OBJECT_MACRO_DUMMY:



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