Skip to content

Commit 01d2202

Browse files
gtk: Mark show_uri_full as deprecated
1 parent af1db70 commit 01d2202

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

gtk4/src/functions.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,8 @@ pub fn accelerator_parse_with_keycode(
145145

146146
#[doc(alias = "gtk_show_uri_full")]
147147
#[doc(alias = "gtk_show_uri_full_finish")]
148+
#[cfg_attr(feature = "v4_10", deprecated = "Since 4.10")]
149+
#[allow(deprecated)]
148150
pub fn show_uri_full<P: FnOnce(Result<(), glib::Error>) + 'static>(
149151
parent: Option<&impl IsA<Window>>,
150152
uri: &str,
@@ -195,6 +197,8 @@ pub fn show_uri_full<P: FnOnce(Result<(), glib::Error>) + 'static>(
195197
}
196198
}
197199

200+
#[cfg_attr(feature = "v4_10", deprecated = "Since 4.10")]
201+
#[allow(deprecated)]
198202
pub fn show_uri_full_future(
199203
parent: Option<&(impl IsA<Window> + Clone + 'static)>,
200204
uri: &str,

0 commit comments

Comments
 (0)