Re: C++ libs and GTK interface



On Tue, 22 May 2001, Vicki Stanfield wrote:

> "conversion from `int' to `enum GtkRcFlags'"

The code, (automatically generated by glade?) is trying to use an integer
(probably zero) as an enum.  C++ is more strict about types.  You can cast
the integer to GtkRcFlags to get the compiler to shutup.  Or better yet,
you can change the number to be an actual enum and have it be correct. 

Taybin Rutkin





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