[Vala] How are DestroyNotify func generated automatically?


As of bug #577048[1], the functions add_full and add_seconds_full from Timeout do no more take a manual DestroyNotify? notify. The bug report says that they are generated automatically, still I am clueless at what to use in place.

The line:

        Timeout.add_seconds_full (Priority.DEFAULT, 1, test);

simply expands to:

        g_timeout_add_seconds_full (G_PRIORITY_DEFAULT, (guint) 1,
                _test_gsource_func, NULL, NULL);

Do you have any idea?


[1] http://bugzilla.gnome.org/show_bug.cgi?id=577048

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