[gnome-control-center] examples: make sure the label is shown when the panel is created
- From: Thomas Wood <thos src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] examples: make sure the label is shown when the panel is created
- Date: Mon, 7 Jun 2010 17:08:53 +0000 (UTC)
commit 0bab4d746a71b7f300735df19f562f7b151c8d70
Author: Thomas Wood <thomas wood intel com>
Date: Mon Jun 7 17:58:58 2010 +0100
examples: make sure the label is shown when the panel is created
examples/cc-example-panel.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/examples/cc-example-panel.c b/examples/cc-example-panel.c
index 979414d..d816af1 100644
--- a/examples/cc-example-panel.c
+++ b/examples/cc-example-panel.c
@@ -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);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]