[gtk/wip/chergert/quartz4u: 119/146] macos: remove dead code
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/chergert/quartz4u: 119/146] macos: remove dead code
- Date: Fri, 19 Jun 2020 18:18:49 +0000 (UTC)
commit 072bbf260ac7e66a6729fed2689fd1888f4c6a13
Author: Christian Hergert <chergert redhat com>
Date: Fri May 29 17:17:05 2020 -0700
macos: remove dead code
gdk/macos/gdkmacossurface-private.h | 3 ---
gdk/macos/gdkmacossurface.c | 17 -----------------
2 files changed, 20 deletions(-)
---
diff --git a/gdk/macos/gdkmacossurface-private.h b/gdk/macos/gdkmacossurface-private.h
index 1c5a4f6188..83bb8ea80d 100644
--- a/gdk/macos/gdkmacossurface-private.h
+++ b/gdk/macos/gdkmacossurface-private.h
@@ -97,9 +97,6 @@ void _gdk_macos_surface_resize (GdkMacosSurface
int height);
void _gdk_macos_surface_update_fullscreen_state (GdkMacosSurface *self);
void _gdk_macos_surface_update_position (GdkMacosSurface *self);
-void _gdk_macos_surface_damage_cairo (GdkMacosSurface *self,
- cairo_surface_t *surface,
- cairo_region_t *painted);
void _gdk_macos_surface_show (GdkMacosSurface *self);
void _gdk_macos_surface_thaw (GdkMacosSurface *self,
gint64
predicted_presentation_time,
diff --git a/gdk/macos/gdkmacossurface.c b/gdk/macos/gdkmacossurface.c
index 03a3d9afc4..d42ca3aa40 100644
--- a/gdk/macos/gdkmacossurface.c
+++ b/gdk/macos/gdkmacossurface.c
@@ -651,23 +651,6 @@ _gdk_macos_surface_update_position (GdkMacosSurface *self)
}
}
-void
-_gdk_macos_surface_damage_cairo (GdkMacosSurface *self,
- cairo_surface_t *surface,
- cairo_region_t *painted)
-{
- NSView *view;
-
- g_return_if_fail (GDK_IS_MACOS_SURFACE (self));
- g_return_if_fail (surface != NULL);
-
- view = [self->window contentView];
-
- if (GDK_IS_MACOS_CAIRO_VIEW (view))
- [(GdkMacosCairoView *)view setCairoSurface:surface
- withDamage:painted];
-}
-
void
_gdk_macos_surface_thaw (GdkMacosSurface *self,
gint64 presentation_time,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]