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



commit 3f8e30796ac1f5b6f8006064660d06fb73a4e9f9
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]