Derive Clone on ErrorMessage

This commit is contained in:
Sebastian Dröge 2017-12-20 20:06:39 +02:00
parent 9066cf0634
commit 15ea81e473

View file

@ -49,7 +49,7 @@ macro_rules! gst_error_msg(
}}; }};
); );
#[derive(Debug, PartialEq, Eq)] #[derive(Clone, Debug, PartialEq, Eq)]
pub struct ErrorMessage { pub struct ErrorMessage {
pub(crate) error_domain: glib_ffi::GQuark, pub(crate) error_domain: glib_ffi::GQuark,
pub(crate) error_code: i32, pub(crate) error_code: i32,