MCPcopy Create free account
hub / github.com/HandBrake/HandBrake / chooser_response_cb

Function chooser_response_cb

gtk/src/ghb-file-button.c:329–340  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

327}
328
329static void
330chooser_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
342static void
343ghb_file_button_clicked (GtkButton *button)

Callers

nothing calls this directly

Calls 2

ghb_file_button_set_fileFunction · 0.85
ghb_file_chooser_destroyFunction · 0.85

Tested by

no test coverage detected