diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2010-11-02 05:17:42 +0800 |
---|---|---|
committer | Rodrigo Moya <rodrigo@gnome-db.org> | 2010-11-10 06:33:22 +0800 |
commit | e3a09eb67c1f9b2a3762626eafbd9dec94bc63bf (patch) | |
tree | f0d39daee02bbbd7986f9a146470708e7ede9e65 /e-util/e-util.h | |
parent | b961a7bb95e7de55f9b190b4a91577d1c7cee589 (diff) | |
download | gsoc2013-evolution-e3a09eb67c1f9b2a3762626eafbd9dec94bc63bf.tar.gz gsoc2013-evolution-e3a09eb67c1f9b2a3762626eafbd9dec94bc63bf.tar.zst gsoc2013-evolution-e3a09eb67c1f9b2a3762626eafbd9dec94bc63bf.zip |
Add GBinding transform funcs for enum types.
We'll want to store enum settings by their nicknames.
Diffstat (limited to 'e-util/e-util.h')
-rw-r--r-- | e-util/e-util.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/e-util/e-util.h b/e-util/e-util.h index 4e982bf248..6560481f06 100644 --- a/e-util/e-util.h +++ b/e-util/e-util.h @@ -156,6 +156,16 @@ gboolean e_binding_transform_string_to_color const GValue *source_value, GValue *target_value, gpointer not_used); +gboolean e_binding_transform_enum_value_to_nick + (GBinding *binding, + const GValue *source_value, + GValue *target_value, + gpointer not_used); +gboolean e_binding_transform_enum_nick_to_value + (GBinding *binding, + const GValue *source_value, + GValue *target_value, + gpointer not_used); gboolean e_binding_transform_source_to_uid (GBinding *binding, const GValue *source_value, |