Skip to content

Commit

Permalink
Small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
lw64 committed Sep 4, 2023
1 parent 5923cca commit 055266e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Previewer/previewer.vala
Original file line number Diff line number Diff line change
Expand Up @@ -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 ();
}
Expand Down Expand Up @@ -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");
}
}

Expand Down

0 comments on commit 055266e

Please sign in to comment.