Hi Ricardo !
Thank you so much for your help. It worked like a charm.
You save my weekend hahaha
See you !
Le 02/09/2022 à 13:36, Ricardo Wurmus a écrit :
Jérémy Korwin-Zmijowski<jer...@korwin-zmijowski.fr> writes:
I want to build a GUI for Gnome (using guile-g-golf (and gtk)).
When under Gnome my small "Hello World" (from the manual example
script) window shows up.
When under KDE (Plasma) nothing shows up but errors in the terminal :
$ guix shell guile gtk guile-g-golf -- ./hello-world
(guile:10978): GLib-GObject-WARNING **: 12:19:06.388: cannot
register existing type 'GdkPixbuf'
(guile:10978): GLib-GObject-CRITICAL **: 12:19:06.388:
g_type_add_interface_static: assertion 'G_TYPE_IS_INSTANTIATABLE
(instance_type)' failed
(guile:10978): GLib-GObject-CRITICAL **: 12:19:06.388:
g_type_add_interface_static: assertion 'G_TYPE_IS_INSTANTIATABLE
(instance_type)' failed
(guile:10978): GLib-CRITICAL **: 12:19:06.388: g_once_init_leave:
assertion 'result != 0' failed
When using g-golf make sure to disable grafts:
guix shell --pure --no-grafts \
guile guile-g-golf gtk@4
The same problem was found in guile-gi first:
https://github.com/spk121/guile-gi/issues/96
--
Jérémy Korwin-Zmijowski
GPG: 036B 4D54 B7B4 D6C8 DA62 2746 700F 5E0C CBB2 E2D1