fixed a typo

This commit is contained in:
neo
2026-08-27 18:05:02 +02:00
parent 9ece322dc7
commit cf94786dff
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -16,7 +16,7 @@ fn main() -> io::Result<()> {
// left blank
});
// register the callbacks in wayland
registry.registry_listener();
registry.register_listener();
// take a look around
let _ = display.roundtrip();
+1 -1
View File
@@ -97,7 +97,7 @@ impl Registry {
{
self.callbacks.global_remove = Some(Box::new(global_remove));
}
pub fn registry_listener(&mut self) {
pub fn register_listener(&mut self) {
unsafe {
wl_proxy_add_listener(
self.raw.as_ptr() as *mut wl_proxy,