[Vala] Entry.visible is uint or bool?



valac -d 
'/home/lion/DOC_LION/DOC_LION/OPERADORES/EdwinDLC/programacion/csharp/mono/vala/3sm/edwinspire/spire_gtk/TestCodeGenered/bin/Release'
--Xcc="-O3" -D MONODEVELOP  --pkg "glib-2.0"  --pkg "gtk+-2.0"  --pkg
"gdk-2.0"  
"/home/lion/DOC_LION/DOC_LION/OPERADORES/EdwinDLC/programacion/csharp/mono/vala/3sm/edwinspire/spire_gtk/TestCodeGenered/main.vala"
 -o "TestCodeGenered"
/home/lion/DOC_LION/DOC_LION/OPERADORES/EdwinDLC/programacion/csharp/mono/vala/3sm/edwinspire/spire_gtk/TestCodeGenered/main.vala:416.1-416.26:
error: Assignment: Cannot convert from `bool' to `uint'
spinbutton1.visible = true;
^^^^^^^^^^^^^^^^^^^^^^^^^^
/home/lion/DOC_LION/DOC_LION/OPERADORES/EdwinDLC/programacion/csharp/mono/vala/3sm/edwinspire/spire_gtk/TestCodeGenered/main.vala:422.1-422.21:
error: Assignment: Cannot convert from `bool' to `uint'
entry1.visible = true;
^^^^^^^^^^^^^^^^^^^^^
Compilation failed: 2 error(s), 0 warning(s)
Construcción finalizada -- 2 errores, 0 advertencias


Wath happend?



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