Commit d07f85e1 authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann

use g_strconcat() instead of g_strjoin() to concatenate two strings.

2007-11-20  Sven Neumann  <sven@gimp.org>

	* glib/gerror.c (g_error_add_prefix): use g_strconcat() instead of
	g_strjoin() to concatenate two strings.

svn path=/trunk/; revision=5873
parent 3bbc6f8f
2007-11-20 Sven Neumann <sven@gimp.org>
* glib/gerror.c (g_error_add_prefix): use g_strconcat() instead of
g_strjoin() to concatenate two strings.
2007-11-19 Marco Barisione <marco@barisione.org>
* glib/gregex.c: When the compilation of a pattern fails in the error
......
......@@ -267,7 +267,7 @@ g_error_add_prefix (gchar **string,
prefix = g_strdup_vprintf (format, ap);
oldstring = *string;
*string = g_strjoin ("", prefix, oldstring, NULL);
*string = g_strconcat (prefix, oldstring, NULL);
g_free (oldstring);
g_free (prefix);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment