Workaround for GtkBuilder bug in GTK 2.12
authorfliep <fliep@ddfedd41-794f-dd11-ae45-00112f111e67>
Fri, 27 Nov 2009 23:05:07 +0000 (23:05 +0000)
committerfliep <fliep@ddfedd41-794f-dd11-ae45-00112f111e67>
Fri, 27 Nov 2009 23:05:07 +0000 (23:05 +0000)
tests/glulxercise.c
tests/glulxercise.ui

index 3db6bba753e3a8b02439aa921218c38f483994dc..6d4b21fecce61d4efd35946a4e0aa56827be7f92 100644 (file)
@@ -88,6 +88,7 @@ main(int argc, char *argv[])
        w->window = LOAD_WIDGET("window");
        GtkWidget *vbox = LOAD_WIDGET("vbox");
        w->test_picker = LOAD_WIDGET("test_picker");
+       gtk_combo_box_set_active(GTK_COMBO_BOX(w->test_picker), 0);
        w->go = LOAD_WIDGET("go");
        w->stop = LOAD_WIDGET("stop");
        w->interp = chimara_if_new();
index 22e7d0fa6ee2d7338933d51b19c022c3ac7677a3..348f44db925b70cc7aaa385267552b72c4354139 100644 (file)
@@ -20,7 +20,6 @@
               <object class="GtkComboBox" id="test_picker">
                 <property name="visible">True</property>
                 <property name="model">tests</property>
-                <property name="active">0</property>
                 <child>
                   <object class="GtkCellRendererText" id="cellrenderertext"/>
                   <attributes>