[gtk/wip/chergert/quartz4u] macos: remove dead code
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/chergert/quartz4u] macos: remove dead code
- Date: Sat, 30 May 2020 00:18:26 +0000 (UTC)
commit bcec9fd325281048e04aa5bbd7594518a227b62c
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]