Fwd: Re: Fwd: Re: GTK_FLOATING broken in 2.9?
- From: "ANDREW PAPROCKI, BLOOMBERG/ 731 LEXIN" <apaprocki bloomberg net>
- To: GTK-DEVEL-LIST GNOME ORG
- Cc:
- Subject: Fwd: Re: Fwd: Re: GTK_FLOATING broken in 2.9?
- Date: Thu, 15 Dec 2005 09:40:32 -0500
Yevgen Muntyan wrote:
>New code:
>
>object = fancy_not_gtk_object_new();
>g_object_ref_sink(object); /* because I don't know what will container do */
>fancy_container_add(container, object);
>g_object_unref(object);
What I want the container code to do is assert if an object is not floating, and
ref_sink internally. So the user's code will look like:
object = fancy_not_gtk_object_new();
fancy_container_add(container, object);
Andrew Paprocki
Bloomberg LP
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]