diff --git a/src/App.zig b/src/App.zig index c4c7ad55b..effef0c5f 100644 --- a/src/App.zig +++ b/src/App.zig @@ -293,14 +293,6 @@ fn redrawSurface( ) !void { if (!self.hasRtSurface(surface)) return; - // TODO: Remove this in a separate PR. We should transition to - // the `render` apprt action completely. This is only to make - // our initial gtk-ng work touch less things. - if (@hasDecl(apprt.App, "redrawSurface")) { - rt_app.redrawSurface(surface); - return; - } - _ = try rt_app.performAction( .{ .surface = surface.core() }, .render, diff --git a/src/apprt/embedded.zig b/src/apprt/embedded.zig index 25e344983..c21f57ffb 100644 --- a/src/apprt/embedded.zig +++ b/src/apprt/embedded.zig @@ -249,12 +249,6 @@ pub const App = struct { self.core_app.alloc.destroy(surface); } - pub fn redrawSurface(self: *App, surface: *Surface) void { - _ = self; - _ = surface; - // No-op, we use a threaded interface so we're constantly drawing. - } - pub fn redrawInspector(self: *App, surface: *Surface) void { _ = self; surface.queueInspectorRender();