Re: gdk_window_set_background?



Vicki Stanfield <vicki dialupnet com> writes: 
> rc_style->color_flags[GTK_STATE_NORMAL] |= GTK_RC_FG;
> 
> The error is:
> conversion from `int' to `enum GtkRcFlags'
> 
> I've looked at the code a hundred times, and I don't see anything so
> different as to account for this error. My declarations are just like
> the ones in the example. Do you have any idea what this might be?
> 

Are you using C++? If you're using C++, the example is not valid C++,
it's given in C.  You need to stick a cast or two in there for C++.

If you're using C, your compiler is pretty strange.

Havoc




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