Re: gdk_window_set_background?
- From: Havoc Pennington <hp redhat com>
- To: Vicki Stanfield <vicki dialupnet com>
- Cc: GTK-List <gtk-list gnome org>
- Subject: Re: gdk_window_set_background?
- Date: 19 May 2001 02:22:30 -0400
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]