Re: GtkBuilder Public API - Last call



markku vire iki fi wrote:
> Hi,
> 
> Perhaps gtk_builder_connect_signals_with_data (or something like that)
> is the way to go. At least in a case we plan to include the DestroyNotify.
> Otherwise we could tolerate one extra parameter into connect_signals, right?

I think so, one extra parameter is not a big deal.

> Putting a DestroyNotify there will create the following (easy) bug scenario:

Actually a GDestroyNotify is probably not a very good idea since the life
cycle of the data structure is normally not tied to the process of
connecting the signals.

-- 
Johan Dahlin <jdahlin async com br>
Async Open Source



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