[gnome-control-center] trivial: Replace g_memmove by memmove
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] trivial: Replace g_memmove by memmove
- Date: Sun, 2 Feb 2020 15:26:30 +0000 (UTC)
commit c114828ec317374adae6230e743fac48e2c67b46
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Sun Feb 2 12:25:42 2020 -0300
trivial: Replace g_memmove by memmove
panels/common/hostname-helper.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/panels/common/hostname-helper.c b/panels/common/hostname-helper.c
index 34af6a51e..a8f7c4192 100644
--- a/panels/common/hostname-helper.c
+++ b/panels/common/hostname-helper.c
@@ -48,7 +48,7 @@ remove_leading_dashes (char *input)
for (start = input; *start && (*start == '-'); start++)
;
- g_memmove (input, start, strlen (start) + 1);
+ memmove (input, start, strlen (start) + 1);
return input;
}
@@ -83,7 +83,7 @@ remove_apostrophes (char *input)
char *apo;
while ((apo = strchr (input, '\'')) != NULL)
- g_memmove (apo, apo + 1, strlen (apo));
+ memmove (apo, apo + 1, strlen (apo));
return input;
}
@@ -93,7 +93,7 @@ remove_duplicate_dashes (char *input)
char *dashes;
while ((dashes = strstr (input, "--")) != NULL)
- g_memmove (dashes, dashes + 1, strlen (dashes));
+ memmove (dashes, dashes + 1, strlen (dashes));
return input;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]