[gnome-control-center] wacom: Don't use "show_all" in test



commit 44865d10824602be7515d3eb3df9800ffde0ee3b
Author: Bastien Nocera <hadess hadess net>
Date:   Fri Jan 13 17:46:57 2012 +0000

    wacom: Don't use "show_all" in test

 panels/wacom/test-wacom.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/panels/wacom/test-wacom.c b/panels/wacom/test-wacom.c
index 357861e..f9c6c48 100644
--- a/panels/wacom/test-wacom.c
+++ b/panels/wacom/test-wacom.c
@@ -38,6 +38,7 @@ add_page (GList *devices,
 	widget = cc_wacom_page_new (stylus, eraser);
 	cc_wacom_page_set_navigation (CC_WACOM_PAGE (widget), GTK_NOTEBOOK (notebook), FALSE);
 	gtk_notebook_append_page (GTK_NOTEBOOK (notebook), widget, NULL);
+	gtk_widget_show (widget);
 }
 
 static gboolean
@@ -71,6 +72,7 @@ int main (int argc, char **argv)
 	gtk_widget_set_vexpand (notebook, TRUE);
 	gtk_container_set_border_width (GTK_CONTAINER (notebook), 24);
 	gtk_container_add (GTK_CONTAINER (window), notebook);
+	gtk_widget_show (notebook);
 
 	devices = gsd_wacom_device_create_fake_cintiq ();
 	add_page (devices, notebook);
@@ -81,7 +83,7 @@ int main (int argc, char **argv)
 	devices = gsd_wacom_device_create_fake_x201 ();
 	add_page (devices, notebook);
 
-	gtk_widget_show_all (window);
+	gtk_widget_show (window);
 
 	gtk_main ();
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]