]> Pileus Git - ~andy/gtk/commit
stylepropertis: Use set_by_property() in set_valist()
authorBenjamin Otte <otte@redhat.com>
Sat, 21 May 2011 19:19:57 +0000 (21:19 +0200)
committerBenjamin Otte <otte@redhat.com>
Sat, 21 May 2011 23:25:16 +0000 (01:25 +0200)
commit70e654f1a5b8ec7ac86012cb9910c7ebbc6da849
tree068f284660b11df478ed8884f8a89d0e7d4a8001
parent73c39f5b1681f2efe5ddf3fb3c7fa6e071ac6039
stylepropertis: Use set_by_property() in set_valist()

... instead of duplicating code. This causes an extra g_value_copy().
If that turns out to be a performance issue, we can invent something
that handles this (like passing a gboolean take_value).

The reason for this duplication deletion is that we want to complicate
the setting code to handle shorthands by unpacking them and storing the
separate values.
gtk/gtkstyleproperties.c