bug-g-golf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cannot run revealer.scm example.


From: David Pirotte
Subject: Re: Cannot run revealer.scm example.
Date: Sun, 6 Feb 2022 00:56:43 -0300

Hello,

> I try run the revealer.scm example, it shows the UI, but fails to show
> the animation. In terminal the program prints.

I am on debian testing, and the gtk4-demo also stopped working as
expected for the revealers example a little while ago ... what I mean
to say by that, is (a) no animation and (b) the example stops after 
all 9 revealers have been revealed.

> 
> ```
> (revealer.scm:21288): GLib-GObject-CRITICAL **: 00:15:24.158:
> ../glib-2.70.2/gobject/gsourceclosure.c:261: closure cannot be set on
> GSource without GSourceFuncs::closure_callback
> 
> (process:21288): GLib-WARNING **: 00:15:24.849: Timeout source
> dispatched without callback. You must call g_source_set_callback().
> ```

However, I don't have any of  those bug/messages here:

        david@aicha:~ 1 $ cd gnu/g-golf/git/examples/gtk-4/
        david@aicha:~/gnu/g-golf/git/examples/gtk-4 4 $ ./revealer.scm 
        [no messages, just an empty line, until closingthe app

Make sure you_do not_ GI GLib nor GObject functionality (refering to
the below part of your message)

> GLib:   2.70.2
> Gtk:    4.4.0
> Guile:  3.0.7
> G-Golf: 1824633d37da3794f349d6829e9dac2cf89adaa8

Perfect, I use gtk 4.4.1+ds1-3 but it still has no animation
'anymore',so this is an upstream bug/problem

> BTW, there's also timeout_add function in Gobject-introspection, but I
> can't use it because it conflicts with the legacy one defined in
> g-golf, what about unify them into one? Maybe we can remove the
> g-timeout-add in g-golf and use G-I.

You should not (never) introspect(import) GLib nor GObject, which
are manually binded, for bootstrap reasons - if something you need is
missing, ask for it, I'll double check and possibly implement the
missing binding ...

David

Attachment: pgpqyFaPrZwjE.pgp
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]