[atk] Minor changes to avoid gobject-introspection warnings



commit 15241459830ce4001bc53175cc8a644febe5fea9
Author: Alejandro Piñeiro <apinheiro igalia com>
Date:   Mon Dec 9 19:46:35 2013 +0100

    Minor changes to avoid gobject-introspection warnings

 atk/atkhyperlink.c |    2 +-
 atk/atkplug.c      |    8 ++++----
 2 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/atk/atkhyperlink.c b/atk/atkhyperlink.c
index 9f23f11..3508688 100755
--- a/atk/atkhyperlink.c
+++ b/atk/atkhyperlink.c
@@ -343,7 +343,7 @@ atk_hyperlink_is_valid (AtkHyperlink *link)
  *           content inline.  Ordinary HTML links will usually return
  *           %FALSE, but an inline &lt;src&gt; HTML element will return
  *           %TRUE.
-a *
+ *
  * Returns: whether or not this link displays its content inline.
  *
  **/
diff --git a/atk/atkplug.c b/atk/atkplug.c
index 8a7a362..21ce461 100644
--- a/atk/atkplug.c
+++ b/atk/atkplug.c
@@ -69,7 +69,7 @@ atk_plug_new (void)
 
 /**
  * atk_plug_get_id:
- * @obj: an #AtkPlug
+ * @plug: an #AtkPlug
  *
  * Gets the unique ID of an #AtkPlug object, which can be used to
  * embed inside of an #AtkSocket using atk_socket_embed().
@@ -85,16 +85,16 @@ atk_plug_new (void)
  * Since: 1.30
  **/
 gchar*
-atk_plug_get_id (AtkPlug* obj)
+atk_plug_get_id (AtkPlug* plug)
 {
   AtkPlugClass *klass;
 
-  g_return_val_if_fail (ATK_IS_PLUG (obj), NULL);
+  g_return_val_if_fail (ATK_IS_PLUG (plug), NULL);
 
   klass = g_type_class_peek (ATK_TYPE_PLUG);
 
   if (klass && klass->get_object_id)
-    return (klass->get_object_id) (obj);
+    return (klass->get_object_id) (plug);
   else
     return NULL;
 }


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