Fix many warnings of the form: ../panels/sound/cc-output-test-wheel.c: In function 'cc_output_test_wheel_dispose': ../panels/sound/cc-output-test-wheel.c:155:20: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 155 | g_clear_pointer ((GtkWidget**) &self->front_center_speaker_button, gtk_widget_unparent); /usr/include/glib-2.0/glib/gmacros.h:870:47: note: in definition of macro 'G_STATIC_ASSERT' 870 | #define G_STATIC_ASSERT(expr) _Static_assert (expr, "Expression evaluates to false") | ^~~~ ../panels/sound/cc-output-test-wheel.c:155:3: note: in expansion of macro 'g_clear_pointer' 155 | g_clear_pointer ((GtkWidget**) &self->front_center_speaker_button, gtk_widget_unparent); | ^~~~~~~~~~~~~~~
Just measure the label to make GTK not complain about allocating children without measuring anything. Measuring all the buttons is an overkill because we expect this widget to have the minimum size overwritten by CSS either way.