Lines Matching refs:enum_class
391 g_enum_get_value_by_name (GEnumClass *enum_class, in g_enum_get_value_by_name() argument
394 g_return_val_if_fail (G_IS_ENUM_CLASS (enum_class), NULL); in g_enum_get_value_by_name()
397 if (enum_class->n_values) in g_enum_get_value_by_name()
401 for (enum_value = enum_class->values; enum_value->value_name; enum_value++) in g_enum_get_value_by_name()
449 g_enum_get_value_by_nick (GEnumClass *enum_class, in g_enum_get_value_by_nick() argument
452 g_return_val_if_fail (G_IS_ENUM_CLASS (enum_class), NULL); in g_enum_get_value_by_nick()
455 if (enum_class->n_values) in g_enum_get_value_by_nick()
459 for (enum_value = enum_class->values; enum_value->value_name; enum_value++) in g_enum_get_value_by_nick()
507 g_enum_get_value (GEnumClass *enum_class, in g_enum_get_value() argument
510 g_return_val_if_fail (G_IS_ENUM_CLASS (enum_class), NULL); in g_enum_get_value()
512 if (enum_class->n_values) in g_enum_get_value()
516 for (enum_value = enum_class->values; enum_value->value_name; enum_value++) in g_enum_get_value()