[nautilus-actions] na_core_utils_str_subst(): fix description
- From: Pierre Wieser <pwieser src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus-actions] na_core_utils_str_subst(): fix description
- Date: Fri, 27 Jan 2012 11:10:02 +0000 (UTC)
commit 06a16e58bdfba89e66a9c912d11101cb7c973cfb
Author: Pierre Wieser <pwieser trychlos org>
Date: Fri Jan 27 12:01:38 2012 +0100
na_core_utils_str_subst(): fix description
ChangeLog | 2 ++
src/core/na-core-utils.c | 8 ++++----
2 files changed, 6 insertions(+), 4 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 0fc8c7d..100584c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
2012-01-27 Pierre Wieser <pwieser trychlos org>
+ * src/core/na-core-utils.c (na_core_utils_str_subst): Fix description.
+
* src/api/na-iexporter.h: Fix NAIExporterFormat description.
* src/api/na-iexporter.h: Update interface description, including the
diff --git a/src/core/na-core-utils.c b/src/core/na-core-utils.c
index 25d6f8c..691d208 100644
--- a/src/core/na-core-utils.c
+++ b/src/core/na-core-utils.c
@@ -295,11 +295,11 @@ na_core_utils_str_split_first_word( const gchar *string, gchar **first, gchar **
* @key: the key string to be substituted.
* @subst: the string which will replace @key.
*
- * Returns: a copy of @pattern where the first occurrence of @key has been
+ * Returns:
+ * a copy of @pattern where the first occurrence of @key has been
* substituted with @subst, as a newly allocated string which should be
- * g_free() by the caller.
- *
- * Returns: a copy of @pattern if @key is not found in @pattern.
+ * g_free() by the caller,
+ * or a copy of @pattern if @key is not found in @pattern.
*/
gchar *
na_core_utils_str_subst( const gchar *pattern, const gchar *key, const gchar *subst )
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]