examples: make sure the label is shown when the panel is created
This commit is contained in:
parent
8836316161
commit
0bab4d746a
1 changed files with 2 additions and 0 deletions
|
@ -97,6 +97,8 @@ cc_example_panel_init (CcExamplePanel *self)
|
|||
|
||||
label = gtk_label_new ("Hello World");
|
||||
|
||||
gtk_widget_show (label);
|
||||
|
||||
gtk_container_add (GTK_CONTAINER (self), label);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue