gtk-rs / gtk4-rs

Rust bindings of GTK 4
https://gtk-rs.org/gtk4-rs/
MIT License
1.75k stars 168 forks source link

custom_orientable example emits critical warning when run #1753

Closed Tomiyou closed 1 month ago

Tomiyou commented 1 month ago

Bug description

When I try to run the custom_orientable example from this repo, I get the following critical warning:

(custom_orientable:3417632): GLib-GObject-CRITICAL **: 01:16:46.338: Object class ExCustomOrientable doesn't implement property 'orientation' from interface 'GtkOrientable'

I am not sure how critical this warning is, but examples should not contain any bugs, since a lot of people learn mainly from them (myself included).

I am using Ubuntu 23.10, with GTK 4.12.3

$ apt list --installed | grep gtk
libgtk-4-bin/mantic-updates,now 4.12.3+ds-1ubuntu0.1 amd64 [installed,automatic]