[gobject-introspection] doc-examples-obj: Rename @self to @obj in doc_examples_obj_method



commit 8577f17cde7db54584dea9e722fc065341fc2f8e
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Fri Feb 1 20:15:32 2013 -0500

    doc-examples-obj: Rename @self to @obj in doc_examples_obj_method
    
    This will be used to test Python "self" parameter forcing.

 .../DocExamples.Obj.method.page                    |    2 +-
 .../DocExamples.Obj.method.page                    |    2 +-
 .../DocExamples.Obj.method.page                    |    2 +-
 tests/doctool/doc-examples-obj.c                   |    6 +++---
 tests/doctool/doc-examples-obj.h                   |    2 +-
 5 files changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/tests/doctool/DocExamples-1.0-C-expected/DocExamples.Obj.method.page b/tests/doctool/DocExamples-1.0-C-expected/DocExamples.Obj.method.page
index d1be796..1047753 100644
--- a/tests/doctool/DocExamples-1.0-C-expected/DocExamples.Obj.method.page
+++ b/tests/doctool/DocExamples-1.0-C-expected/DocExamples.Obj.method.page
@@ -54,7 +54,7 @@ gint first_arg,
   
     <p>This is an example of how to document a method.</p><p>You should call this on a <link xref="DocExamples.Obj"/> that was
 created with <link xref="DocExamples.Obj.new"/>, by passing it
-in as <code>self</code>.</p><p>This should be a %FALSEALARM.</p>
+in as <code>obj</code>.</p><p>This should be a %FALSEALARM.</p>
   
   
     <p>Since 0.99</p>
diff --git a/tests/doctool/DocExamples-1.0-Gjs-expected/DocExamples.Obj.method.page b/tests/doctool/DocExamples-1.0-Gjs-expected/DocExamples.Obj.method.page
index 9eae46c..b3dad03 100644
--- a/tests/doctool/DocExamples-1.0-Gjs-expected/DocExamples.Obj.method.page
+++ b/tests/doctool/DocExamples-1.0-Gjs-expected/DocExamples.Obj.method.page
@@ -51,7 +51,7 @@ function method(first_arg:Number, second_arg:Number, boolean_arg:Boolean, pointe
   
     <p>This is an example of how to document a method.</p><p>You should call this on a <link xref="DocExamples.Obj"/> that was
 created with <link xref="DocExamples.Obj.new"/>, by passing it
-in as <code>self</code>.</p><p>This should be a %FALSEALARM.</p>
+in as <code>obj</code>.</p><p>This should be a %FALSEALARM.</p>
   
   
     <p>Since 0.99</p>
diff --git a/tests/doctool/DocExamples-1.0-Python-expected/DocExamples.Obj.method.page b/tests/doctool/DocExamples-1.0-Python-expected/DocExamples.Obj.method.page
index 050d7b3..0b5681e 100644
--- a/tests/doctool/DocExamples-1.0-Python-expected/DocExamples.Obj.method.page
+++ b/tests/doctool/DocExamples-1.0-Python-expected/DocExamples.Obj.method.page
@@ -52,7 +52,7 @@ def method(self, first_arg, second_arg, boolean_arg, pointer_arg, string):
   
     <p>This is an example of how to document a method.</p><p>You should call this on a <link xref="DocExamples.Obj"/> that was
 created with <link xref="DocExamples.Obj.new"/>, by passing it
-in as <code>self</code>.</p><p>This should be a %FALSEALARM.</p>
+in as <code>obj</code>.</p><p>This should be a %FALSEALARM.</p>
   
   
     <p>Since 0.99</p>
diff --git a/tests/doctool/doc-examples-obj.c b/tests/doctool/doc-examples-obj.c
index 3b57110..fff1aaa 100644
--- a/tests/doctool/doc-examples-obj.c
+++ b/tests/doctool/doc-examples-obj.c
@@ -104,7 +104,7 @@ doc_examples_obj_new (void)
 
 /**
  * doc_examples_obj_method:
- * @self: A #DocExamplesObj.
+ * @obj: A #DocExamplesObj.
  * @first_arg: first argument
  * @second_arg: second argument
  * @boolean_arg: You should always pass %TRUE.
@@ -117,7 +117,7 @@ doc_examples_obj_new (void)
  *
  * You should call this on a #DocExamplesObj that was
  * created with doc_examples_obj_new(), by passing it
- * in as @self.
+ * in as @obj.
  *
  * This should be a %FALSEALARM.
  *
@@ -126,7 +126,7 @@ doc_examples_obj_new (void)
  * Returns: Either %FALSE or something %FALSE-y.
  */
 gboolean
-doc_examples_obj_method (DocExamplesObj *self, gint first_arg, gfloat second_arg,
+doc_examples_obj_method (DocExamplesObj *obj, gint first_arg, gfloat second_arg,
                          gboolean boolean_arg, gpointer pointer_arg, gchar *string)
 {
   return FALSE;
diff --git a/tests/doctool/doc-examples-obj.h b/tests/doctool/doc-examples-obj.h
index 641aa81..543a8c2 100644
--- a/tests/doctool/doc-examples-obj.h
+++ b/tests/doctool/doc-examples-obj.h
@@ -56,7 +56,7 @@ struct _DocExamplesObjClass
 GType doc_examples_obj_get_type (void) G_GNUC_CONST;
 
 DocExamplesObj *doc_examples_obj_new (void);
-gboolean doc_examples_obj_method (DocExamplesObj *self, gint first_arg, gfloat second_arg,
+gboolean doc_examples_obj_method (DocExamplesObj *obj, gint first_arg, gfloat second_arg,
                                   gboolean boolean_arg, gpointer pointer_arg, gchar *string);
 
 gboolean doc_examples_obj_static_method (gint *out_arg);



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