aboutsummaryrefslogtreecommitdiffstats
path: root/pugl/pugl_cairo_backend.h
diff options
context:
space:
mode:
Diffstat (limited to 'pugl/pugl_cairo_backend.h')
-rw-r--r--pugl/pugl_cairo_backend.h23
1 files changed, 2 insertions, 21 deletions
diff --git a/pugl/pugl_cairo_backend.h b/pugl/pugl_cairo_backend.h
index 9e1a046..3f8cec3 100644
--- a/pugl/pugl_cairo_backend.h
+++ b/pugl/pugl_cairo_backend.h
@@ -14,29 +14,10 @@
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
-/**
- @file pugl_cairo_backend.h Declaration of Cairo backend accessor.
-*/
-
#ifndef PUGL_PUGL_CAIRO_BACKEND_H
#define PUGL_PUGL_CAIRO_BACKEND_H
-#include "pugl/pugl.h"
-
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-/**
- Cairo graphics backend accessor.
-
- Pass the return value to puglInitBackend() to draw to a view with Cairo.
-*/
-PUGL_API const PuglBackend*
-puglCairoBackend(void);
-
-#ifdef __cplusplus
-} /* extern "C" */
-#endif
+#warning "This header is deprecated, use pugl/pugl_cairo.h instead."
+#include "pugl/pugl_cairo.h"
#endif // PUGL_PUGL_CAIRO_BACKEND_H