Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Dorota Czaplejewicz
gtk
Commits
9c6cf4ac
Commit
9c6cf4ac
authored
Oct 29, 2018
by
John Ralls
Browse files
Fix indentation.
parent
60dafa38
Changes
1
Hide whitespace changes
Inline
Side-by-side
gdk/quartz/gdkwindow-quartz.c
View file @
9c6cf4ac
...
...
@@ -138,11 +138,11 @@ gdk_window_impl_quartz_get_context (GdkWindowImplQuartz *window_impl,
return
NULL
;
}
if
(
gdk_quartz_osx_version
()
<
GDK_OSX_YOSEMITE
)
cg_context
=
[[
NSGraphicsContext
currentContext
]
graphicsPort
];
cg_context
=
[[
NSGraphicsContext
currentContext
]
graphicsPort
];
else
cg_context
=
[[
NSGraphicsContext
currentContext
]
CGContext
];
cg_context
=
[[
NSGraphicsContext
currentContext
]
CGContext
];
if
(
!
cg_context
)
return
NULL
;
return
NULL
;
CGContextSaveGState
(
cg_context
);
CGContextSetAllowsAntialiasing
(
cg_context
,
antialias
);
...
...
@@ -306,10 +306,10 @@ gdk_quartz_create_cairo_surface (GdkWindowImplQuartz *impl,
surface_data
->
cg_context
=
cg_context
;
if
(
cg_context
)
surface
=
cairo_quartz_surface_create_for_cg_context
(
cg_context
,
width
,
height
);
surface
=
cairo_quartz_surface_create_for_cg_context
(
cg_context
,
width
,
height
);
else
surface
=
cairo_quartz_surface_create
(
CAIRO_FORMAT_ARGB32
,
width
,
height
);
surface
=
cairo_quartz_surface_create
(
CAIRO_FORMAT_ARGB32
,
width
,
height
);
cairo_surface_set_user_data
(
surface
,
&
gdk_quartz_cairo_key
,
surface_data
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment