Re: How class deriving from GInitiallyUnowned should be wrapped?



2010/12/3 Murray Cumming <murrayc murrayc com>:
> On Thu, 2010-12-02 at 20:47 +0100, Krzesimir Nowak wrote:
>>  Which leads me to
>> another question: how to wrap a function taking GType as a parameter?
>> Said function is:
>>
>> GtkSourceGutterRenderer *
>> gtk_source_gutter_insertv (GtkSourceGutter *gutter,
>>                            GType            gtype,
>>                            gint             position,
>>                            guint            num_parameters,
>>                            GParameter      *parameters);
>>
>> where gtype must be a GType deriving from GtkSourceGutterRenderer.
> [snip]
>
> I would strongly suggest that they change the C API. Why can't it just
> take an already-instantiated object? This is not at all friendly to
> language bindings.
>
Filed a bug 636409 [1].

[1] https://bugzilla.gnome.org/show_bug.cgi?id=636409


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