[Vala] [ANNOUNCE] Vala 0.18.1 - Compiler for the GObject type system

2012-11-13 Thread Jürg Billeter
We are pleased to announce version 0.18.1 of Vala, a compiler for the
GObject type system.

Vala 0.18.1 is now available for download at:
   http://download.gnome.org/sources/vala/0.18/

Changes since 0.18.0
 * Bug fixes and binding updates.

Vala is a programming language that aims to bring modern programming
language features to GNOME developers without imposing any additional
runtime requirements and without using a different ABI compared to
applications and libraries written in C.

valac, the Vala compiler, is a self-hosting compiler that translates
Vala source code into C source and header files. It uses the GObject
type system to create classes and interfaces declared in the Vala source
code.

More information about Vala is available at

http://www.vala-project.org/


The Vala Team

---
Andreas Fenkart (1):
  gstreamer-0.10: removed static from transition_next/current.

Arnel A. Borja (1):
  Fix build for Windows

Dmitry Vagin (1):
  posix: mark inet_ntop as nullable

Evan Nemerson (12):
  libxml-2.0: add has_type_id = false to all enums
  glib-2.0: add missing parameters to Test.rand_double_range
  glib-2.0: mark envp parameters in GLib.Environ methods as nullable
  glib-2.0: use g_async_queue_new_full instead of g_async_queue_new
  gtk+-3.0: mark Gtk.FontChooserDialog construtor arguments as nullable
  gkt+-2.0, gtk+-3.0: fix Gtk.HSV.get_* arguments
  gtk+-2.0, gtk+-3.0: improvements for Gtk.ScaleButton constructor args
  gtk+-2.0, gtk+-3.0: make RadioButton radio_group_member args nullable
  gtk+-3.0: fix nullability of ColorChooserDialog constructor arguments
  gtk+-2.0, gtk+-3.0: assorted minor fixes
  glib-2.0: add Process.check_exit_status binding
  glib-2.0: add float.ROUNDS and RADIX

Jürg Billeter (11):
  gtk+-3.0: Fix gtk_application_inhibit binding
  codegen: Do not call g_thread_init when targeting GLib >= 2.32
  GDBus: Initialize array length variable in property get wrappers
  codegen: Fix fields initialized by functions returning an array
  codegen: Retain array length for cast from/to generic array
  gtk+-3.0: Add gtk_widget_has_grab binding
  linux: Fix uinput_user_dev binding
  codegen: Fix g_simple_async_result_new in interface methods
  codegen: Fix memory leak when chaining up in fundamental classes
  gtk+-3.0: Fix gtk_grid_attach_next_to binding
  Release 0.18.1

Rico Tzschichholz (2):
  bindings: update GIR-based bindings.
  tests: Add D-Bus test for dictionary passing

Robert Ancell (1):
  posix: Add nl_langinfo

Simon Werbeck (1):
  Forbid `resize' method for multi-dimensional array

___
vala-list mailing list
vala-list@gnome.org
https://mail.gnome.org/mailman/listinfo/vala-list


[Vala] [GTK+3] Setting colour for insensitive text

2012-11-13 Thread tarnyko
Hi folks, 

I have little problems setting colours for insensitive text in GTK entries. 
It used to work well with GTK+2, but with GTK+3 my choices seem to be 
ignored. 


Here is a Vala sample to demonstrate the problem :
http://www.tarnyko.net/repo/testgtk-insensitive_text.vala 

The important part is : 


Gdk.Color insensitive_color = Gdk.Color ();
Gdk.Color.parse ("red", out insensitive_color);
[...]
entry.set_sensitive (false);
entry.modify_text (StateType.INSENSITIVE, insensitive_color); 


I first instantiate a "Gdk.Color" object and parse the "red" colour in it.
Then I make my Entry insensitive, and associate insensitive text therein 
with my Color object. 


WORKS with GTK+2 :
valac --pkg gtk+-2.0 testgtk-insensitive_text.vala 


DOESN'T WORK with GTK+3 :
valac --pkg gtk+-3.0 testgtk-insensitive_text.vala 

Text is red in GTK+2, stays gray in GTK+3. 

Could someone give me a direction ? 

PS : I want to avoid using CSS if possible. 


Thanks, Tarnyko
___
vala-list mailing list
vala-list@gnome.org
https://mail.gnome.org/mailman/listinfo/vala-list