Re: GtkTextSearchFlags problem
- From: Havoc Pennington <hp redhat com>
- To: Jeff Franks <jcf tpg com au>
- Cc: gtk-devel-list gnome org
- Subject: Re: GtkTextSearchFlags problem
- Date: Thu, 12 Jun 2003 21:59:09 -0400
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]