summaryrefslogtreecommitdiff
path: root/src/Fl_Cairo.cxx
diff options
context:
space:
mode:
authorManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2026-01-12 09:42:39 +0100
committerManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2026-01-12 09:42:39 +0100
commitafbdbb25b9dc92460871abbf7e8295b630141d42 (patch)
tree80393b7b98d47c6fe0cddc86290585d878408af0 /src/Fl_Cairo.cxx
parent4cc0c8f44aab21edcfab0ec0b165b81124e20aba (diff)
Function Fl::Private::cairo_make_current(void *gc) is not used anywhere in FLTK
Diffstat (limited to 'src/Fl_Cairo.cxx')
-rw-r--r--src/Fl_Cairo.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Fl_Cairo.cxx b/src/Fl_Cairo.cxx
index 5f9a18ee4..1b830c045 100644
--- a/src/Fl_Cairo.cxx
+++ b/src/Fl_Cairo.cxx
@@ -209,6 +209,8 @@ static cairo_surface_t *cairo_create_surface(void *gc, int W, int H) {
#endif
}
+
+#if 0 // this non-public function appears not to be used anywhere in FLTK
/**
Creates a Cairo context from a \a gc only, gets its window size or
offscreen size if fl_window is null.
@@ -251,6 +253,7 @@ cairo_t *Fl::Private::cairo_make_current(void *gc) {
cairo_state_.cc(c);
return c;
}
+#endif
/**
Creates a Cairo context from a \p gc and the given size.