[gtk/wip/chergert/quartz4u: 115/146] macos: cleanup naming



commit 5bc11f06b0b020f88dc9d73af9f68b46e9f78d11
Author: Christian Hergert <chergert redhat com>
Date:   Fri May 29 16:46:38 2020 -0700

    macos: cleanup naming

 gdk/macos/GdkMacosCairoView.c | 4 ++--
 gdk/macos/GdkMacosCairoView.h | 4 ++--
 gdk/macos/gdkmacossurface.c   | 4 ++--
 3 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/gdk/macos/GdkMacosCairoView.c b/gdk/macos/GdkMacosCairoView.c
index 70beb0cacc..7158f570ea 100644
--- a/gdk/macos/GdkMacosCairoView.c
+++ b/gdk/macos/GdkMacosCairoView.c
@@ -48,8 +48,8 @@
   return YES;
 }
 
--(void)setCairoSurfaceWithRegion:(cairo_surface_t *)cairoSurface
-                     cairoRegion:(cairo_region_t *)cairoRegion
+-(void)setCairoSurface:(cairo_surface_t *)cairoSurface
+            withDamage:(cairo_region_t *)cairoRegion
 {
   guint n_rects = cairo_region_num_rectangles (cairoRegion);
 
diff --git a/gdk/macos/GdkMacosCairoView.h b/gdk/macos/GdkMacosCairoView.h
index 647500987a..c4190ff059 100644
--- a/gdk/macos/GdkMacosCairoView.h
+++ b/gdk/macos/GdkMacosCairoView.h
@@ -30,7 +30,7 @@
   cairo_surface_t *surface;
 }
 
--(void)setCairoSurfaceWithRegion:(cairo_surface_t *)cairoSurface
-                     cairoRegion:(cairo_region_t *)region;
+-(void)setCairoSurface:(cairo_surface_t *)cairoSurface
+            withDamage:(cairo_region_t *)region;
 
 @end
diff --git a/gdk/macos/gdkmacossurface.c b/gdk/macos/gdkmacossurface.c
index 2bff7dc236..eb1544e602 100644
--- a/gdk/macos/gdkmacossurface.c
+++ b/gdk/macos/gdkmacossurface.c
@@ -664,8 +664,8 @@ _gdk_macos_surface_damage_cairo (GdkMacosSurface *self,
   view = [self->window contentView];
 
   if (GDK_IS_MACOS_CAIRO_VIEW (view))
-    [(GdkMacosCairoView *)view setCairoSurfaceWithRegion:surface
-                                             cairoRegion:painted];
+    [(GdkMacosCairoView *)view setCairoSurface:surface
+                                    withDamage:painted];
 }
 
 void


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