No, it's not that simple. The return is only if gtk_show_uri_on_window() fails. The idea is that if the user clears the current tool_prefs.browser_cmd in the dialog and commits that and then gtk_show_uri_on_window() fails for whatever reason then the dialog pops up again and allows the user to select a different command.

Please suggest a comparably concise way to accomplish that, otherwise we have no rule that forbids goto.


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <geany/geany/pull/3178/c1107908810@github.com>