Re: Question about gdk_colormap_free_colors()



On 28 Jul 2001 22:52:08 -0400, Havoc Pennington said:


 Colors placed in a GtkRcStyle need not be allocated, GTK will allocate
 them for you. If you manipulate a GtkStyle directly, you are kind of
 on your own, I'm not sure how you would ensure it worked out
 correctly.

Alright, so in other words GTK+ dosen't unref the colors in
a GtkStyle when I call gtk_style_unref()?

What about the existing colors in a GtkStyle()? ie one that
came with gtk_style_copy() are those colors gonna have an
extra reference count?


-- 
--
Sincerely,                  ,"-_                         \|/
-Capt. Taura M.             ,   O=__                    --X--
.__                          ,_JNMNNEO=_                 /|\
OMNOUMmnne.                  {OMMNNNEEEEOO=_
UOOOBIOOOEOMMn.               'LONMMMMNNEEEOOO=.__..,,..
UUOOEUUOOOOOOOObe              '"=OMMMMWNEEEOOOOO,"=OEEEOO=,._
OOUUUIEEIOONNOIUbe.                "7OMMMMNNNNNWWEEEEOOOOOO"   "'.
EEBNNMMMNWNWWEEIMMNe.             __  7EMMMNNNNNWWWEEEEEEEOO.     " .
NNMMMMWWWMMMWEINMMMNn            "=BBEEEEMMMMMMMMNNNWWWEEOOOOO=._     .
                  http://furry.ao.net/~learfox/






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