| 804 | } |
| 805 | |
| 806 | static gboolean |
| 807 | hud_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 | |
| 823 | G_MODULE_EXPORT void |
| 824 | hud_enter_cb (GtkEventControllerMotion *econ, double x, double y, gpointer data) |
nothing calls this directly
no test coverage detected