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

Function source_dialog_response_cb

gtk/src/callbacks.c:1660–1682  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1658}
1659
1660static void
1661source_dialog_response_cb(GtkFileChooser *chooser,
1662 GtkResponseType response, signal_user_data_t *ud)
1663{
1664 if (response == GTK_RESPONSE_ACCEPT)
1665 {
1666
1667 if (g_strcmp0(gtk_file_chooser_get_choice(chooser, "single"), "true") == 0)
1668 {
1669 single_title_dialog(chooser);
1670 return;
1671 }
1672 else
1673 {
1674 source_dialog_start_scan(chooser, 0);
1675 }
1676 }
1677 else
1678 {
1679 source_dialog = NULL;
1680 ghb_file_chooser_destroy(chooser);
1681 }
1682}
1683
1684static int
1685file_name_compare (GFile *file1, GFile *file2, gpointer data)

Callers

nothing calls this directly

Calls 3

single_title_dialogFunction · 0.85
source_dialog_start_scanFunction · 0.85
ghb_file_chooser_destroyFunction · 0.85

Tested by

no test coverage detected