[tracker-miners/wip/carlosg/compile-warnings: 14/15] tracker-extract: Drop usage of g_memmove



commit f032feeee006b9202a093c623eeea06129e70d4c
Author: Carlos Garnacho <carlosg gnome org>
Date:   Mon Feb 17 01:33:32 2020 +0100

    tracker-extract: Drop usage of g_memmove
    
    This is a very shallow macro, and was deprecated in glib recently.

 src/tracker-extract/tracker-extract-gstreamer.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/tracker-extract/tracker-extract-gstreamer.c b/src/tracker-extract/tracker-extract-gstreamer.c
index 4894ee02b..10c478692 100644
--- a/src/tracker-extract/tracker-extract-gstreamer.c
+++ b/src/tracker-extract/tracker-extract-gstreamer.c
@@ -352,7 +352,7 @@ get_embedded_cue_sheet_data (GstTagList *tag_list)
                         * not have to jump past cuesheet= on the
                         * returned value.
                         */
-                       g_memmove (buffer, buffer + 9, strlen ((gchar *) buffer + 9) + 1);
+                       memmove (buffer, buffer + 9, strlen ((gchar *) buffer + 9) + 1);
 
                        return buffer;
                }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]