| 4948 | } |
| 4949 | |
| 4950 | void |
| 4951 | ghb_browse_uri (const char *uri) |
| 4952 | { |
| 4953 | GtkUriLauncher *launcher = gtk_uri_launcher_new(uri); |
| 4954 | GtkApplication *app = GTK_APPLICATION(g_application_get_default()); |
| 4955 | GtkWindow *parent = gtk_application_get_active_window(app); |
| 4956 | gtk_uri_launcher_launch(launcher, parent, NULL, (GAsyncReadyCallback) browse_uri_finish, NULL); |
| 4957 | } |
| 4958 | |
| 4959 | static void |
| 4960 | file_open_finish (GtkFileLauncher *launcher, GAsyncResult *result, gpointer data) |
no outgoing calls
no test coverage detected