Fully qualify glib_bool_error! in gst_loggable_error!

This commit is contained in:
François Laignel 2019-11-21 19:18:01 +01:00
parent 2c4c2c4784
commit fd6bbf5929

View file

@ -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)*))
}};
);