Re: [gtk-list] Re: Graphic Contexts



Owen Taylor <otaylor@redhat.com> writes:

> You seem to be using C++, in which case you'll need an explicit
> cast:
> 
>  (GdkGCValuesMask) GDK_GC_FOREGROUND | GDK_GC_BACKGROUND

Nitpick - this is usually written like this :

GdkGCValuesMask(GDK_GC_FOREGROUND | GDK_GC_BACKGROUND)

It reads a bit more nicely.

-- 
					Guillaume.
					http://www.telegraph-road.org



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