Re: GTK_FLOATING broken in 2.9?
- From: Havoc Pennington <hp redhat com>
- To: Tim Janik <timj imendio com>
- Cc: Dave Benson <daveb idealab com>, Gtk+ Developers <gtk-devel-list gnome org>, Morten Welinder <mortenw gnome org>
- Subject: Re: GTK_FLOATING broken in 2.9?
- Date: Tue, 20 Dec 2005 12:37:50 -0500
On Tue, 2005-12-20 at 17:27 +0100, Tim Janik wrote:
> GObject:
> - created with ref_count=1
> - not initially floating
This is the key I think. The point of my theoretical rant is that I
think it's really bad if I do:
obj = g_object_new(TYPE_WHATEVER);
and don't know whether I own a refcount or not. The programmer needs to
know this.
> GtkObject, derived from GFloating object:
Changing the GtkObject parent class seems likely to break ABI to me...
Otherwise the API you sketched out seems fine.
Havoc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]