summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThibault Saunier <tsaunier@igalia.com>2020-02-28 17:50:05 -0300
committerThibault Saunier <tsaunier@igalia.com>2020-03-19 18:45:51 -0300
commite6e05be88a78650dc34d9382f594f40ed5e59e0d (patch)
tree4262515c9efe48cbef9ab07cb0b9242e27aed642
parent329cbbcba72779305ab7299327d7d45dfcf4ab5a (diff)
ges: Cleanup GESEdge and GESEditMode GEnum values
By duplicating the registered values, so that bindings have better values to use
-rw-r--r--ges/ges-enums.c18
1 files changed, 18 insertions, 0 deletions
diff --git a/ges/ges-enums.c b/ges/ges-enums.c
index 299e2b5a..fe261cac 100644
--- a/ges/ges-enums.c
+++ b/ges/ges-enums.c
@@ -111,18 +111,33 @@ register_ges_edit_mode (GType * id)
{C_ENUM (GES_EDIT_MODE_NORMAL), "GES_EDIT_MODE_NORMAL",
"edit_normal"},
+ {C_ENUM (GES_EDIT_MODE_NORMAL), "GES_EDIT_MODE_NORMAL",
+ "normal"},
+
{C_ENUM (GES_EDIT_MODE_RIPPLE), "GES_EDIT_MODE_RIPPLE",
"edit_ripple"},
+ {C_ENUM (GES_EDIT_MODE_RIPPLE), "GES_EDIT_MODE_RIPPLE",
+ "ripple"},
+
{C_ENUM (GES_EDIT_MODE_ROLL), "GES_EDIT_MODE_ROLL",
"edit_roll"},
+ {C_ENUM (GES_EDIT_MODE_ROLL), "GES_EDIT_MODE_ROLL",
+ "roll"},
+
{C_ENUM (GES_EDIT_MODE_TRIM), "GES_EDIT_MODE_TRIM",
"edit_trim"},
+ {C_ENUM (GES_EDIT_MODE_TRIM), "GES_EDIT_MODE_TRIM",
+ "trim"},
+
{C_ENUM (GES_EDIT_MODE_SLIDE), "GES_EDIT_MODE_SLIDE",
"edit_slide"},
+ {C_ENUM (GES_EDIT_MODE_SLIDE), "GES_EDIT_MODE_SLIDE",
+ "slide"},
+
{0, NULL, NULL}
};
@@ -144,8 +159,11 @@ register_ges_edge (GType * id)
{
static const GEnumValue edges[] = {
{C_ENUM (GES_EDGE_START), "GES_EDGE_START", "edge_start"},
+ {C_ENUM (GES_EDGE_START), "GES_EDGE_START", "start"},
{C_ENUM (GES_EDGE_END), "GES_EDGE_END", "edge_end"},
+ {C_ENUM (GES_EDGE_END), "GES_EDGE_END", "end"},
{C_ENUM (GES_EDGE_NONE), "GES_EDGE_NONE", "edge_none"},
+ {C_ENUM (GES_EDGE_NONE), "GES_EDGE_NONE", "none"},
{0, NULL, NULL}
};