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

Function ghb_question_dialog_run

gtk/src/callbacks.c:3989–4010  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3987}
3988
3989gboolean
3990ghb_question_dialog_run (GtkWindow *parent, GhbActionStyle accept_style,
3991 const char *accept_button, const char *cancel_button,
3992 const char *title, const char *format, ...)
3993{
3994 va_list args;
3995 GtkMessageDialog *dialog;
3996 GtkResponseType response;
3997
3998 va_start(args, format);
3999 dialog = question_dialog_va(parent, accept_style, accept_button,
4000 cancel_button, title, format, args);
4001 va_end(args);
4002
4003 response = ghb_dialog_run(GTK_DIALOG(dialog));
4004 gtk_window_destroy(GTK_WINDOW(dialog));
4005 if (response == GTK_RESPONSE_ACCEPT)
4006 {
4007 return TRUE;
4008 }
4009 return FALSE;
4010}
4011
4012void
4013message_dialog_destroy (GtkDialog *dialog, int response, gpointer user_data)

Callers 8

ghb_validate_videoFunction · 0.85
ghb_validate_subtitlesFunction · 0.85
ghb_validate_audioFunction · 0.85
validate_settingsFunction · 0.85
title_add_all_action_cbFunction · 0.85
ghb_presets_loadFunction · 0.85
preset_remove_action_cbFunction · 0.85
prefs_response_cbFunction · 0.85

Calls 2

question_dialog_vaFunction · 0.85
ghb_dialog_runFunction · 0.85

Tested by

no test coverage detected