| 58 | #endif |
| 59 | |
| 60 | static void |
| 61 | show_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 | |
| 73 | static void |
| 74 | battery_level_cb (GDBusProxy *proxy, GVariant *changed_properties, |
no test coverage detected