Re: GtkTextSearchFlags problem



On Fri, Jun 13, 2003 at 11:54:37AM +1000, Jeff Franks wrote:
> Hi,
> 
> GtkTextSearchFlags is declared in gtktextiter.h like this:
> 
> typedef enum {
>     GTK_TEXT_SEARCH_VISIBLE_ONLY,
>     GTK_TEXT_SEARCH_TEXT_ONLY,
> } GtkSourceSearchFlags;
> 
> but because it's represents a bitmask field shouldn't it be declared 
> like this:
> 
> typedef enum {
>     GTK_TEXT_SEARCH_VISIBLE_ONLY = 1 << 0,
>     GTK_TEXT_SEARCH_TEXT_ONLY = 1 << 1,
> } GtkTextSearchFlags;
> 

Probably so, yes. Can you file on bugzilla.gnome.org?

Havoc



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