examples: make sure the label is shown when the panel is created

This commit is contained in:
Thomas Wood 2010-06-07 17:58:58 +01:00
parent 8836316161
commit 0bab4d746a

View file

@ -97,6 +97,8 @@ cc_example_panel_init (CcExamplePanel *self)
label = gtk_label_new ("Hello World"); label = gtk_label_new ("Hello World");
gtk_widget_show (label);
gtk_container_add (GTK_CONTAINER (self), label); gtk_container_add (GTK_CONTAINER (self), label);
} }