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

Function hud_timeout

gtk/src/preview.c:806–821  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

804}
805
806static gboolean
807hud_timeout (GtkWidget *widget)
808{
809 ghb_log_func();
810 if (live_preview_get_state() != PREVIEW_STATE_ENCODING)
811 {
812 cancel_source_function(hud_fade_id);
813 hud_fade_id = g_timeout_add(16, (GSourceFunc)hud_fade_out, widget);
814 hud_timeout_id = 0;
815 return G_SOURCE_REMOVE;
816 }
817 else
818 {
819 return G_SOURCE_CONTINUE;
820 }
821}
822
823G_MODULE_EXPORT void
824hud_enter_cb (GtkEventControllerMotion *econ, double x, double y, gpointer data)

Callers

nothing calls this directly

Calls 2

live_preview_get_stateFunction · 0.85
cancel_source_functionFunction · 0.85

Tested by

no test coverage detected