Re: Question about gdk_colormap_free_colors()



gtk_style_detach() calls gtk_style_unref(), so you just need to call the
first one.

FB

Tara M a écrit :

On Sun, 29 Jul 2001 22:21:54 +0200, Fabien BOULEAU said:

 GtkStyle have color fields and associated gc fields. Color counters are only
 altered when working on gc fields, when gtk_style_attach() is called (only
 once, works with a counter too, i.e. in gtk_style_new(), gtk_style_copy(),
 etc.) and when gtk_style_detach() is called (when the object is destroyed).

Do you know if gtk_style_detach() is intended to be the same as
gtk_style_unref()?  Which should I call first in order?

Sincerely,
--Tara Milana

_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list




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