Re: GdkFont deprecated but in GdkGC



Hi.

"Marc K." <marc centrin net id> writes:

> In the GDK Reference Manual for GDK 2.5.6:
> GdkFont is deprecated but it is a field on GdkGCValues.
> How must we treat that field? Just pretend that
> it does not exist or should we set it to NULL?

The GdkGCValues struct is always used along with a bitmask with values
from GdkGCValuesMask. You don't need to set the fields of a GdkGCValue
that you haven't marked as valid in the values_mask. If you don't set
GDK_GC_FONT, the font field won't be touched.


Sven



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