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

Function prefs_response_cb

gtk/src/callbacks.c:3791–3808  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3789}
3790
3791G_MODULE_EXPORT gboolean
3792prefs_response_cb (GtkWindow *dialog, gpointer data)
3793{
3794 ghb_prefs_store();
3795 gtk_widget_set_visible(GTK_WIDGET(dialog), FALSE);
3796
3797 if (prefs_require_restart)
3798 {
3799 GtkWindow *hb_window = GTK_WINDOW(ghb_builder_widget("hb_window"));
3800
3801 // Toss up a warning dialog
3802 ghb_question_dialog_run(hb_window, GHB_ACTION_NORMAL, _("_Quit"), NULL,
3803 _("Settings Changed"),
3804 _("You must restart HandBrake now."));
3805 application_quit();
3806 }
3807 return TRUE;
3808}
3809
3810typedef struct
3811{

Callers

nothing calls this directly

Calls 4

ghb_prefs_storeFunction · 0.85
ghb_builder_widgetFunction · 0.85
ghb_question_dialog_runFunction · 0.85
application_quitFunction · 0.85

Tested by

no test coverage detected