GNOME Bugzilla – Bug 534177
Invalid description of the interface g_cclosure_marshal_STRING__OBJECT_POINTER
Last modified: 2008-05-25 19:54:23 UTC
Documentation Section: http://www.gtk.org/api/2.6/glib/gobject-Closures.html#g-cclosure-marshal-STRING--OBJECT-POINTER 1. The description of the interface contains the following text: "A marshaller for a GCClosure with a callback of type void (*callback) (gpointer instance, GObject* arg1, gpointer user_data)." The return type of the cаllbаck should be "gchar*" not "void". 2. The parameter "return_value" is defined as "return_value : ignored", whereas this is where the returned string value should be stored. Correct version: 1. A marshaller for a GCClosure with a callback of type gchar* (*callback) (gpointer instance, GObject *arg1, gpointer arg2, gpointer user_data). 2. return_value : a GValue, which can store the returned string Other information: The detailed issue description can be found at: http://linuxtesting.org/results/report?num=D0081
2008-05-25 Matthias Clasen <mclasen@redhat.com> * gobject/tmpl/gclosure.sgml: Fix docs for g_cclosure_marshal_STRING__OBJECT_POINTER. (#534177, Areg Beketovski)