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

Function show_power_widgets

gtk/src/power-manager.c:60–71  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58#endif
59
60static void
61show_power_widgets (const char *widgets[])
62{
63 GtkWidget *widget;
64
65 for (int i = 0; widgets[i] != NULL; i++)
66 {
67 widget = ghb_builder_widget(widgets[i]);
68 if (widget)
69 gtk_widget_set_visible(widget, TRUE);
70 }
71}
72
73static void
74battery_level_cb (GDBusProxy *proxy, GVariant *changed_properties,

Callers 2

battery_proxy_new_cbFunction · 0.85
power_monitor_newFunction · 0.85

Calls 1

ghb_builder_widgetFunction · 0.85

Tested by

no test coverage detected