[gtk+/combo-refactor: 27/49] Oops one of my last commits disabled some tests, re-enabling them.



commit 43d591298103e16d663a86eb863ea19522040f16
Author: Tristan Van Berkom <tristan van berkom gmail com>
Date:   Wed Nov 24 21:45:03 2010 +0900

    Oops one of my last commits disabled some tests, re-enabling them.

 tests/testcombo.c |    5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)
---
diff --git a/tests/testcombo.c b/tests/testcombo.c
index 67b97ec..5f58272 100644
--- a/tests/testcombo.c
+++ b/tests/testcombo.c
@@ -1092,7 +1092,6 @@ main (int argc, char **argv)
         g_object_set (renderer, "text", "la la la", NULL);
         gtk_container_add (GTK_CONTAINER (boom), cellview);
 
-#if 0
         /* GtkComboBox list */
         tmp = gtk_frame_new ("GtkComboBox (list)");
         gtk_box_pack_start (GTK_BOX (mainbox), tmp, FALSE, FALSE, 0);
@@ -1334,7 +1333,6 @@ main (int argc, char **argv)
                                         NULL);
 	
         gtk_combo_box_set_active (GTK_COMBO_BOX (combobox), 0);
-#endif
 
         /* Capitals */
         tmp = gtk_frame_new ("Where are you ?");
@@ -1369,7 +1367,6 @@ main (int argc, char **argv)
 	gdk_threads_add_timeout (1000, (GSourceFunc) capital_animation, model);
 #endif
 
-#if 0
 	/* Ellipsizing growing combos */
         tmp = gtk_frame_new ("Unconstrained Menu");
         gtk_box_pack_start (GTK_BOX (mainbox), tmp, FALSE, FALSE, 0);
@@ -1390,7 +1387,7 @@ main (int argc, char **argv)
                                         "text", 0, NULL);
         gtk_combo_box_set_active (GTK_COMBO_BOX (combobox), 0);
 	gtk_combo_box_set_popup_fixed_width (GTK_COMBO_BOX (combobox), FALSE);
-#endif
+
         gtk_widget_show_all (window);
 
         gtk_main ();



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