Skip to content

Commit

Permalink
Stop using deprecated gtk_show_uri
Browse files Browse the repository at this point in the history
  • Loading branch information
sonnyp committed Oct 17, 2024
1 parent 6c17350 commit d9badbe
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/PanelUI.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,11 +83,11 @@ export default function PanelUI({
"button_blueprint_documentation",
);
button_blueprint_documentation.connect("clicked", () => {
Gtk.show_uri(
null,
"https://jwestman.pages.gitlab.gnome.org/blueprint-compiler/",
null,
);
new Gtk.UriLauncher({
uri: "https://jwestman.pages.gitlab.gnome.org/blueprint-compiler/",
})
.launch(application.get_active_window(), null)
.catch(console.error);
});

let handler_id_xml = null;
Expand Down

0 comments on commit d9badbe

Please sign in to comment.