Add Notification::clear_hints()

This commit is contained in:
Julian Ospald 2017-07-09 19:33:32 +02:00
parent c3897b7c0e
commit b77584e0a0
No known key found for this signature in database
GPG Key ID: 511B62C09D50CD28

View File

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