From e324057cbd9b02704172bb5db4163f4a0c276288 Mon Sep 17 00:00:00 2001 From: Jedidiah Barber Date: Sun, 12 Jan 2025 15:11:40 +1300 Subject: Closed a few gaps in the APIs of Window derivatives --- src/c_fl_cairo_window.cpp | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) (limited to 'src/c_fl_cairo_window.cpp') diff --git a/src/c_fl_cairo_window.cpp b/src/c_fl_cairo_window.cpp index 39f3031..c1a815e 100644 --- a/src/c_fl_cairo_window.cpp +++ b/src/c_fl_cairo_window.cpp @@ -55,17 +55,7 @@ int My_Cairo_Window::handle(int e) { // Flattened C API begins here -CAIROWINDOW new_fl_cairo_window(int x, int y, int w, int h, char * label) { - My_Cairo_Window *c = new My_Cairo_Window(x, y, w, h, label); - return c; -} - -CAIROWINDOW new_fl_cairo_window2(int w, int h, char * label) { - My_Cairo_Window *c = new My_Cairo_Window(w, h, label); - return c; -} - -CAIROWINDOW new_fl_cairo_window3(int w, int h) { +CAIROWINDOW new_fl_cairo_window(int w, int h) { My_Cairo_Window *c = new My_Cairo_Window(w, h); return c; } -- cgit