workbenchdev / demos

Demos of GNOME technologies - GTK, libadwaita, CSS, portals, ...
Creative Commons Zero v1.0 Universal
10 stars 16 forks source link

Drag and Drop example produces an error #203

Open elvishcraftsman opened 2 months ago

elvishcraftsman commented 2 months ago

After dragging and dropping an entry in the included drag and drop example, I get the following error (after about five seconds). I first noticed it when adapting the code for my application.

(re.sonny.Workbench:5): Gtk-CRITICAL **: 12:42:53.405: gtk_native_unrealize: assertion 'clock != NULL' failed

(re.sonny.Workbench:5): Gtk-WARNING **: 12:42:53.405: (../gtk/gtknative.c:139):verify_priv_unrealized: runtime check failed: (priv->update_handler_id == 0)

(re.sonny.Workbench:5): Gtk-WARNING **: 12:42:53.405: (../gtk/gtknative.c:140):verify_priv_unrealized: runtime check failed: (priv->layout_handler_id == 0)

(re.sonny.Workbench:5): Gtk-WARNING **: 12:42:53.405: (../gtk/gtknative.c:141):verify_priv_unrealized: runtime check failed: (priv->scale_changed_handler_id == 0)

ondrejkolin commented 3 weeks ago

btw. the examples are living in this repo:

https://github.com/workbenchdev/demos/tree/main/src/Drag%20and%20Drop