GtkTextSearchFlags problem
- From: Jeff Franks <jcf tpg com au>
- To: gtk-devel-list gnome org
- Subject: GtkTextSearchFlags problem
- Date: Fri, 13 Jun 2003 11:54:37 +1000
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;
Regards,
Jeff Franks.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]