Skip to content

Commit 7283246

Browse files
authored
Merge pull request #2161 from JakeStanger/style-context/remove-deprecated
fix(gtk4): remove deprecated warnings on style_context methods
2 parents 5638a81 + 337eaad commit 7283246

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

gtk4/src/style_context.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ use glib::translate::*;
55
use crate::{ffi, prelude::*, StyleContext, StyleProvider};
66

77
impl StyleContext {
8-
#[deprecated(note = "Use gtk::style_context_add_provider_for_display instead.")]
9-
#[doc(alias = "gtk_style_context_add_provider_for_display")]
108
pub fn add_provider_for_display(
119
display: &impl IsA<gdk::Display>,
1210
provider: &impl IsA<StyleProvider>,
@@ -22,8 +20,6 @@ impl StyleContext {
2220
}
2321
}
2422

25-
#[deprecated(note = "Use gtk::style_context_remove_provider_for_display instead.")]
26-
#[doc(alias = "gtk_style_context_remove_provider_for_display")]
2723
pub fn remove_provider_for_display(
2824
display: &impl IsA<gdk::Display>,
2925
provider: &impl IsA<StyleProvider>,

0 commit comments

Comments
 (0)