Re: toplevel listing



Havoc Pennington <hp redhat com> writes:

> Hi,
> 
> For http://bugzilla.gnome.org/show_bug.cgi?id=11821, any objections to
> this patch?

Can we just get rid of _gtk_window_list_reference_toplevels and
do:

 list = gtk_window_list_toplevels();

 g_list_foreach (list, (GFunc)g_object_ref);

We do this in a lot of other places already for 
gtk_container_get_children() and there is exactly one use
of gtk_window_list_toplevels() now inside of GTK+...

                                        Owen




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