[glib] Rename a few arguments
- From: Ryan Lortie <ryanl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] Rename a few arguments
- Date: Fri, 22 Jul 2011 13:48:11 +0000 (UTC)
commit a14f2fa1a0ea2b453be35373f9d4c5d80b842d7d
Author: Ryan Lortie <desrt desrt ca>
Date: Fri Jul 22 13:44:31 2011 +0200
Rename a few arguments
To fix header/function/doc-string mismatches.
glib/gdataset.c | 4 ++--
glib/gunicode.h | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/glib/gdataset.c b/glib/gdataset.c
index b58d66c..9a1e299 100644
--- a/glib/gdataset.c
+++ b/glib/gdataset.c
@@ -827,8 +827,8 @@ g_datalist_id_get_data (GData **datalist,
/**
* g_datalist_get_data:
- * @dl: a datalist.
- * @k: the string identifying a data element.
+ * @datalist: a datalist.
+ * @key: the string identifying a data element.
* @Returns: the data element, or %NULL if it is not found.
*
* Gets a data element, using its string identifer. This is slower than
diff --git a/glib/gunicode.h b/glib/gunicode.h
index 548300c..ad2f638 100644
--- a/glib/gunicode.h
+++ b/glib/gunicode.h
@@ -606,7 +606,7 @@ gchar* g_utf8_find_prev_char (const gchar *str,
glong g_utf8_strlen (const gchar *p,
gssize max) G_GNUC_PURE;
-gchar *g_utf8_substring (const gchar *p,
+gchar *g_utf8_substring (const gchar *str,
glong start_pos,
glong end_pos) G_GNUC_MALLOC;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]