[gnome-online-accounts/wip/rishi/drop-deprecated-gtimeval-gmemmove: 1/3] identity-utils: Use memmove instead of deprecated g_memmove
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-online-accounts/wip/rishi/drop-deprecated-gtimeval-gmemmove: 1/3] identity-utils: Use memmove instead of deprecated g_memmove
- Date: Wed, 4 Dec 2019 14:54:06 +0000 (UTC)
commit 90ffcd5decbbd696492bb4a9586b90c249c35966
Author: Debarshi Ray <debarshir gnome org>
Date: Fri Nov 29 17:10:14 2019 +0100
identity-utils: Use memmove instead of deprecated g_memmove
src/goaidentity/goaidentityutils.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
---
diff --git a/src/goaidentity/goaidentityutils.c b/src/goaidentity/goaidentityutils.c
index 9b85bb6b..86760772 100644
--- a/src/goaidentity/goaidentityutils.c
+++ b/src/goaidentity/goaidentityutils.c
@@ -110,9 +110,7 @@ dashed_string_to_studly_caps (const char *dashed_string)
{
if (studly_string[i] == '-' || studly_string[i] == '_')
{
- g_memmove (studly_string + i,
- studly_string + i + 1,
- studly_string_length - i - 1);
+ memmove (studly_string + i, studly_string + i + 1, studly_string_length - i - 1);
studly_string_length--;
if (g_ascii_isalpha (studly_string[i]))
studly_string[i] = g_ascii_toupper (studly_string[i]);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]