I'm writing a Gtk+3 application in C.
The user interface is built with glade.
I created an independent GtkBox
that should be used in several places in my application.
When I try to use that GtkBox
more then once I get the following error:
(tuxmusicstudio:27491): Gtk-WARNING **: Attempting to add a widget with type GtkBox to a container of type GtkBox, but the widget is already inside a container of type GtkBox, please use gtk_widget_reparent()
How can I clone the GtkWidget so it will be reusable again and again?