From 055266e875e749d3c2854dfcc4d2a78b90fcd105 Mon Sep 17 00:00:00 2001 From: Lorenz Wildberg Date: Mon, 4 Sep 2023 22:36:05 +0200 Subject: [PATCH] Small fix --- src/Previewer/previewer.vala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Previewer/previewer.vala b/src/Previewer/previewer.vala index 40ab21615..b9647e571 100644 --- a/src/Previewer/previewer.vala +++ b/src/Previewer/previewer.vala @@ -122,7 +122,7 @@ namespace Workbench { Gtk.StyleContext.add_provider_for_display (Gdk.Display.get_default (), this.css , Gtk.STYLE_PROVIDER_PRIORITY_APPLICATION); } - public void run (string filename, string uri) { + public void run (string filename, string uri) throws DBusError { if (this.module != null) { this.module.close (); } @@ -159,7 +159,7 @@ namespace Workbench { var main_function = (MainFunction) function; int result = main_function (); if (result != 1) { - throw new GLib.DBusError.SPAWN_CHILD_EXITED("demo exited with error code 1"); + throw new DBusError.SPAWN_CHILD_EXITED("demo exited with error code 1"); } }