Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions glib/src/object.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3575,6 +3575,7 @@ pub struct SendWeakRef<T: ObjectType>(WeakRef<T>, Option<usize>);

impl<T: ObjectType> SendWeakRef<T> {
#[inline]
#[deprecated = "Use from() instead. See https://github.com/gtk-rs/gtk-rs-core/issues/1617"]
pub fn new() -> SendWeakRef<T> {
SendWeakRef(WeakRef::new(), None)
}
Expand Down Expand Up @@ -3615,6 +3616,7 @@ impl<T: ObjectType> Clone for SendWeakRef<T> {
impl<T: ObjectType> Default for SendWeakRef<T> {
#[inline]
fn default() -> Self {
#[allow(deprecated)]
Self::new()
}
}
Expand Down
Loading