diff options
| author | Tomas Bzatek <tbzatek@users.sourceforge.net> | 2013-04-07 19:54:32 +0200 |
|---|---|---|
| committer | Tomas Bzatek <tbzatek@users.sourceforge.net> | 2013-04-07 19:54:32 +0200 |
| commit | 4000d372f629054e6d6f98e51d3ac27d1c066e9e (patch) | |
| tree | 7b96bf0ff62d64f6ab4cddb0fc7cea131fcebf78 /src | |
| parent | ced9539fef270fe133cb0ad6fc04c30bd5fa2dfe (diff) | |
| download | cataract-4000d372f629054e6d6f98e51d3ac27d1c066e9e.tar.xz | |
Remove unnecessary bitshifting for enum members
Diffstat (limited to 'src')
| -rw-r--r-- | src/items.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/items.h b/src/items.h index b502e71..71b9401 100644 --- a/src/items.h +++ b/src/items.h @@ -24,18 +24,18 @@ G_BEGIN_DECLS typedef enum { - GALLERY_TYPE_INDEX = 1 << 0, - GALLERY_TYPE_ALBUM = 1 << 1 + GALLERY_TYPE_INDEX, + GALLERY_TYPE_ALBUM } TGalleryType; typedef enum { - INDEX_ITEM_TYPE_PICTURE = 1 << 0, - INDEX_ITEM_TYPE_SEPARATOR = 1 << 1, - INDEX_ITEM_TYPE_INTERSPACE = 1 << 2 + INDEX_ITEM_TYPE_PICTURE, + INDEX_ITEM_TYPE_SEPARATOR, + INDEX_ITEM_TYPE_INTERSPACE } TIndexItemType; typedef enum { - AUTH_TYPE_NONE, + AUTH_TYPE_NONE = 0, AUTH_TYPE_BASIC } TAuthType; |
