forked from mirrors/gstreamer-rs
Fully qualify glib_bool_error! in gst_loggable_error!
This commit is contained in:
parent
2c4c2c4784
commit
fd6bbf5929
1 changed files with 2 additions and 2 deletions
|
@ -105,12 +105,12 @@ impl Error for ErrorMessage {
|
|||
macro_rules! gst_loggable_error(
|
||||
// Plain strings
|
||||
($cat:expr, $msg:expr) => {
|
||||
$crate::LoggableError::new($cat.clone(), glib_bool_error!($msg))
|
||||
$crate::LoggableError::new($cat.clone(), $crate::glib::glib_bool_error!($msg))
|
||||
};
|
||||
|
||||
// Format strings
|
||||
($cat:expr, $($msg:tt)*) => { {
|
||||
$crate::LoggableError::new($cat.clone(), glib_bool_error!($($msg)*))
|
||||
$crate::LoggableError::new($cat.clone(), $crate::glib::glib_bool_error!($($msg)*))
|
||||
}};
|
||||
);
|
||||
|
||||
|
|
Loading…
Reference in a new issue