diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2010-11-02 05:17:42 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2010-11-05 02:18:34 +0800 |
commit | 0ab70ad33c4e22a176e89bb8a935aed8c7848e51 (patch) | |
tree | 788d3531b70f47a42ed3cb7e0d11d90b531aa33e /e-util/e-util.h | |
parent | a36d95f93bb2b26c6fd63f8da53977300e9eecc2 (diff) | |
download | gsoc2013-evolution-0ab70ad33c4e22a176e89bb8a935aed8c7848e51.tar.gz gsoc2013-evolution-0ab70ad33c4e22a176e89bb8a935aed8c7848e51.tar.zst gsoc2013-evolution-0ab70ad33c4e22a176e89bb8a935aed8c7848e51.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, |