From 4000d372f629054e6d6f98e51d3ac27d1c066e9e Mon Sep 17 00:00:00 2001 From: Tomas Bzatek Date: Sun, 7 Apr 2013 19:54:32 +0200 Subject: Remove unnecessary bitshifting for enum members --- src/items.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/items.h') 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; -- cgit v1.2.3