From 84f30a60644196d6da825ea1a1d1a63f9c646ba0 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Sat, 6 Apr 2024 19:36:59 -0700 Subject: [PATCH] apprt/gtk: setFontsize should have error --- src/apprt/gtk/Surface.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/apprt/gtk/Surface.zig b/src/apprt/gtk/Surface.zig index 34108a6f1..c7aaf9343 100644 --- a/src/apprt/gtk/Surface.zig +++ b/src/apprt/gtk/Surface.zig @@ -416,7 +416,7 @@ fn realize(self: *Surface) !void { // If we have a font size we want, set that now if (self.font_size) |size| { - self.core_surface.setFontSize(size); + try self.core_surface.setFontSize(size); } // Set the intial color scheme