Rework _g_enum_to_string in Vala

Its new name is Matrix._g_enum_value_to_nick
This commit is contained in:
2016-03-04 08:58:56 +01:00
parent bd4efee0cf
commit 4d1d6562d0
7 changed files with 61 additions and 39 deletions

View File

@@ -18,6 +18,7 @@
#include "matrix-types.h"
#include "matrix-enumtypes.h"
#include "matrix-glib.h"
#include "utils.h"
/**
@@ -1566,7 +1567,7 @@ matrix_filter_get_json_node(MatrixFilter *filter)
json_builder_set_member_name(builder, "event_format");
json_builder_add_string_value(builder,
_g_enum_to_string(
_matrix_g_enum_value_to_nick(
MATRIX_TYPE_EVENT_FORMAT,
filter->event_format,
TRUE));