From 8ef461bb7007e3d72a6561740d9310941054ed36 Mon Sep 17 00:00:00 2001 From: Ell Date: Thu, 30 May 2019 03:30:32 -0400 Subject: [PATCH] app: s/gimp_list_compare()/gimp_g_list_compare()/ ... so we don't clash with the GimpList namespace. --- app/core/gimp-utils.c | 4 ++-- app/core/gimp-utils.h | 2 +- app/tools/gimpmovetool.c | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/core/gimp-utils.c b/app/core/gimp-utils.c index 86fac28f8e..5265c0b8ed 100644 --- a/app/core/gimp-utils.c +++ b/app/core/gimp-utils.c @@ -859,8 +859,8 @@ gimp_ascii_strtod (const gchar *nptr, } gint -gimp_list_compare (GList *list1, - GList *list2) +gimp_g_list_compare (GList *list1, + GList *list2) { while (list1 && list2) { diff --git a/app/core/gimp-utils.h b/app/core/gimp-utils.h index 719a5e489d..726370afcd 100644 --- a/app/core/gimp-utils.h +++ b/app/core/gimp-utils.h @@ -98,7 +98,7 @@ gboolean gimp_ascii_strtod (const gchar *nptr, gchar **endptr, gdouble *result); -gint gimp_list_compare (GList *list1, +gint gimp_g_list_compare (GList *list1, GList *list2); GimpImage * gimp_create_image_from_buffer (Gimp *gimp, diff --git a/app/tools/gimpmovetool.c b/app/tools/gimpmovetool.c index 98e0500c81..e820e48010 100644 --- a/app/tools/gimpmovetool.c +++ b/app/tools/gimpmovetool.c @@ -512,7 +512,7 @@ gimp_move_tool_oper_update (GimpTool *tool, FUNSCALEY (shell, snap_distance)); } - if (gimp_list_compare (guides, move->guides)) + if (gimp_g_list_compare (guides, move->guides)) { GimpDrawTool *draw_tool = GIMP_DRAW_TOOL (tool);