| 4979 | } |
| 4980 | |
| 4981 | void |
| 4982 | ghb_file_open (GFile *file) |
| 4983 | { |
| 4984 | if (!file) return; |
| 4985 | |
| 4986 | GtkFileLauncher *launcher = gtk_file_launcher_new(file); |
| 4987 | GtkApplication *app = GTK_APPLICATION(g_application_get_default()); |
| 4988 | GtkWindow *parent = gtk_application_get_active_window(app); |
| 4989 | gtk_file_launcher_launch(launcher, parent, NULL, (GAsyncReadyCallback) file_open_finish, NULL); |
| 4990 | } |
| 4991 | |
| 4992 | void |
| 4993 | ghb_file_open_containing_folder (GFile *file) |
no test coverage detected