| 327 | } |
| 328 | |
| 329 | static void |
| 330 | chooser_response_cb (GtkFileChooser *chooser, GtkResponseType response, |
| 331 | GhbFileButton *self) |
| 332 | { |
| 333 | if (response == GTK_RESPONSE_ACCEPT) |
| 334 | { |
| 335 | GFile *file = gtk_file_chooser_get_file(chooser); |
| 336 | ghb_file_button_set_file(self, file); |
| 337 | g_object_unref(file); |
| 338 | } |
| 339 | ghb_file_chooser_destroy(chooser); |
| 340 | } |
| 341 | |
| 342 | static void |
| 343 | ghb_file_button_clicked (GtkButton *button) |
nothing calls this directly
no test coverage detected