Add Notification::clear_hints()
This commit is contained in:
parent
c3897b7c0e
commit
b77584e0a0
@ -351,6 +351,13 @@ impl<'a> Notification<'a> {
|
|||||||
pixbuf);
|
pixbuf);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// Clears all hints from the notification.
|
||||||
|
pub fn clear_hints(&self) {
|
||||||
|
unsafe {
|
||||||
|
sys::notify_notification_clear_hints(self.handle);
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user