Skip to content

Commit

Permalink
window_identifier: Use const rather than static (#164)
Browse files Browse the repository at this point in the history
static is like a const that can be mutated, we dont need that.
  • Loading branch information
A6GibKm authored Sep 2, 2023
1 parent c67c9cb commit 6a1cd71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/window_identifier/gtk4.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ use raw_window_handle::{

use super::WindowIdentifierType;

static WINDOW_HANDLE_KEY: &str = "ashpd-wayland-gtk4-window-handle";
const WINDOW_HANDLE_KEY: &str = "ashpd-wayland-gtk4-window-handle";

pub struct Gtk4WindowIdentifier {
native: gtk4::Native,
Expand Down

0 comments on commit 6a1cd71

Please sign in to comment.