[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: Wed, 6 May 2020 01:10:17 +0000 (UTC)
commit 9d289466cdb64de4252b065e8fcb4eaf0ebbc4d0
Author: Christian Hergert <chergert redhat com>
Date: Tue May 5 18:09:22 2020 -0700
macos: remove dead code
gdk/macos/gdkmacoscairocontext.c | 2 --
1 file changed, 2 deletions(-)
---
diff --git a/gdk/macos/gdkmacoscairocontext.c b/gdk/macos/gdkmacoscairocontext.c
index 3cdfce078f..4852159614 100644
--- a/gdk/macos/gdkmacoscairocontext.c
+++ b/gdk/macos/gdkmacoscairocontext.c
@@ -46,7 +46,6 @@ static cairo_surface_t *
create_cairo_surface_for_surface (GdkSurface *surface)
{
cairo_surface_t *cairo_surface;
- CGContextRef cg;
GdkDisplay *display;
int scale;
int width;
@@ -54,7 +53,6 @@ create_cairo_surface_for_surface (GdkSurface *surface)
g_assert (GDK_IS_MACOS_SURFACE (surface));
- cg = NSGraphicsContext.currentContext.CGContext;
display = gdk_surface_get_display (surface);
scale = gdk_surface_get_scale_factor (surface);
width = scale * gdk_surface_get_width (surface);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]