[glib] [gi] Fix parameter name typos in Gio docstrings



commit 0e548251201db63eb0c80091877f44df14f4a0fe
Author: Martin Pitt <martin pitt ubuntu com>
Date:   Thu Aug 11 11:05:31 2011 +0200

    [gi] Fix parameter name typos in Gio docstrings
    
    Found by GIR compiler when building gobject-introspection:
    
    gir/gio-2.0.c:33525: Warning: Gio: g_tls_password_set_description: unknown
    parameter 'flags' in documentation comment, should be one of 'password',
    'description'
    gir/gio-2.0.c:14568: Warning: Gio: g_action_group_action_state_changed: unknown
    parameter 'state' in documentation comment, should be one of 'action_group',
    'action_name', 'value'

 gio/gactiongroup.h |    2 +-
 gio/gtlspassword.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gio/gactiongroup.h b/gio/gactiongroup.h
index cbab061..94602af 100644
--- a/gio/gactiongroup.h
+++ b/gio/gactiongroup.h
@@ -104,7 +104,7 @@ struct _GActionGroupInterface
                                                         gboolean       enabled);
   void                  (* action_state_changed)       (GActionGroup   *action_group,
                                                         const gchar    *action_name,
-                                                        GVariant       *value);
+                                                        GVariant       *state);
 };
 
 GType                   g_action_group_get_type                         (void) G_GNUC_CONST;
diff --git a/gio/gtlspassword.c b/gio/gtlspassword.c
index aa1c35c..d582164 100644
--- a/gio/gtlspassword.c
+++ b/gio/gtlspassword.c
@@ -365,7 +365,7 @@ g_tls_password_get_description (GTlsPassword *password)
 /**
  * g_tls_password_set_description:
  * @password: a #GTlsPassword object
- * @flags: The description of the password
+ * @description: The description of the password
  *
  * Set a description string about what the password will be used for.
  *



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