After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 579611 - GLib.set_print_handler and GLib.set_printerr_handler bindings are incorrect
GLib.set_print_handler and GLib.set_printerr_handler bindings are incorrect
Status: RESOLVED DUPLICATE of bug 580667
Product: vala
Classification: Core
Component: Bindings
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Vala maintainers
Vala maintainers
Depends on:
Blocks:
 
 
Reported: 2009-04-20 14:14 UTC by Jaap A. Haitsma
Modified: 2009-05-14 18:27 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Jaap A. Haitsma 2009-04-20 14:14:23 UTC
E.g. if you compile this
----

static void print_handler (string text) {
	stdout.puts (text);
}

static int main (string[] args) {

    set_print_handler(print_handler);    
    return 0;
}
-----

the output contains a statement like this

	g_set_print_handler (_print_handler_gprint_func, NULL);

The NULL should obviously not be there
Comment 1 Evan Nemerson 2009-05-02 07:03:12 UTC
Works here. Maybe a temporary bug while moving from static delegates to [CCode (has_target = false)]?
Comment 2 Jaap A. Haitsma 2009-05-14 18:27:33 UTC

*** This bug has been marked as a duplicate of 580667 ***