Embed the actual control widget within the frame

This commit is contained in:
Pierre Pronchery 2017-05-21 04:57:01 +02:00
parent f4c74c683e
commit 2094dc1460

View File

@ -100,6 +100,7 @@ MixerControl * mixercontrol_new(String const * id, String const * icon,
#endif
gtk_box_pack_start(GTK_BOX(hbox), control->name, TRUE, TRUE, 0);
gtk_frame_set_label_widget(GTK_FRAME(control->frame), hbox);
gtk_container_add(GTK_CONTAINER(control->frame), control->widget);
return control;
}