mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 03:16:17 +01:00
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
This commit is contained in:
parent
3bbc6f8fe3
commit
d07f85e11e
@ -1,3 +1,8 @@
|
||||
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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user