[gimp/gimp-2-10] app: s/gimp_list_compare()/gimp_g_list_compare()/



commit 0c4c1f1a8cc3b0500b80f32fccbf17fdf2574b7e
Author: Ell <ell_se yahoo com>
Date:   Thu May 30 03:30:32 2019 -0400

    app: s/gimp_list_compare()/gimp_g_list_compare()/
    
    ... so we don't clash with the GimpList namespace.
    
    (cherry picked from commit 8ef461bb7007e3d72a6561740d9310941054ed36)

 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 74b7410c4d..4544f2fa61 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 761c73ef31..20b8b8afa2 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);
 


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