This is an automated email from the git hooks/post-receive script. nomad pushed a commit to branch master in repository apps/xfdashboard.
commit 22da40f367b91a7966256c93628bd582345f21fc Author: Stephan Haller <no...@froevel.de> Date: Tue Jan 26 13:42:40 2016 +0100 Correct values for enums used as flags --- xfdashboard/background.h | 6 +++--- xfdashboard/binding.h | 2 +- xfdashboard/types.h | 16 ++++++++-------- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/xfdashboard/background.h b/xfdashboard/background.h index 4fd5821..6667474 100644 --- a/xfdashboard/background.h +++ b/xfdashboard/background.h @@ -46,9 +46,9 @@ typedef enum /*< flags,prefix=XFDASHBOARD_BACKGROUND_TYPE >*/ { XFDASHBOARD_BACKGROUND_TYPE_NONE=0, - XFDASHBOARD_BACKGROUND_TYPE_FILL=1 << 1, - XFDASHBOARD_BACKGROUND_TYPE_OUTLINE=1 << 2, - XFDASHBOARD_BACKGROUND_TYPE_ROUNDED_CORNERS=1 << 3, + XFDASHBOARD_BACKGROUND_TYPE_FILL=1 << 0, + XFDASHBOARD_BACKGROUND_TYPE_OUTLINE=1 << 1, + XFDASHBOARD_BACKGROUND_TYPE_ROUNDED_CORNERS=1 << 2, } XfdashboardBackgroundType; diff --git a/xfdashboard/binding.h b/xfdashboard/binding.h index e8eca14..0813b9f 100644 --- a/xfdashboard/binding.h +++ b/xfdashboard/binding.h @@ -70,7 +70,7 @@ struct _XfdashboardBindingClass typedef enum /*< flags,prefix=XFDASHBOARD_BINDING_FLAGS >*/ { XFDASHBOARD_BINDING_FLAGS_NONE=0, - XFDASHBOARD_BINDING_FLAGS_ALLOW_UNFOCUSABLE_TARGET + XFDASHBOARD_BINDING_FLAGS_ALLOW_UNFOCUSABLE_TARGET=1 << 0, } XfdashboardBindingFlags; GType xfdashboard_binding_get_type(void) G_GNUC_CONST; diff --git a/xfdashboard/types.h b/xfdashboard/types.h index fd287b9..e100b45 100644 --- a/xfdashboard/types.h +++ b/xfdashboard/types.h @@ -101,10 +101,10 @@ typedef enum /*< flags,prefix=XFDASHBOARD_CORNERS >*/ { XFDASHBOARD_CORNERS_NONE=0, - XFDASHBOARD_CORNERS_TOP_LEFT=1 << 1, - XFDASHBOARD_CORNERS_TOP_RIGHT=1 << 2, - XFDASHBOARD_CORNERS_BOTTOM_LEFT=1 << 3, - XFDASHBOARD_CORNERS_BOTTOM_RIGHT=1 << 4, + XFDASHBOARD_CORNERS_TOP_LEFT=1 << 0, + XFDASHBOARD_CORNERS_TOP_RIGHT=1 << 1, + XFDASHBOARD_CORNERS_BOTTOM_LEFT=1 << 2, + XFDASHBOARD_CORNERS_BOTTOM_RIGHT=1 << 3, XFDASHBOARD_CORNERS_TOP=(XFDASHBOARD_CORNERS_TOP_LEFT | XFDASHBOARD_CORNERS_TOP_RIGHT), XFDASHBOARD_CORNERS_BOTTOM=(XFDASHBOARD_CORNERS_BOTTOM_LEFT | XFDASHBOARD_CORNERS_BOTTOM_RIGHT), @@ -129,10 +129,10 @@ typedef enum /*< flags,prefix=XFDASHBOARD_BORDERS >*/ { XFDASHBOARD_BORDERS_NONE=0, - XFDASHBOARD_BORDERS_LEFT=1 << 1, - XFDASHBOARD_BORDERS_TOP=1 << 2, - XFDASHBOARD_BORDERS_RIGHT=1 << 3, - XFDASHBOARD_BORDERS_BOTTOM=1 << 4, + XFDASHBOARD_BORDERS_LEFT=1 << 0, + XFDASHBOARD_BORDERS_TOP=1 << 1, + XFDASHBOARD_BORDERS_RIGHT=1 << 2, + XFDASHBOARD_BORDERS_BOTTOM=1 << 3, XFDASHBOARD_BORDERS_ALL=(XFDASHBOARD_BORDERS_LEFT | XFDASHBOARD_BORDERS_TOP | XFDASHBOARD_BORDERS_RIGHT | XFDASHBOARD_BORDERS_BOTTOM) } XfdashboardBorders; -- To stop receiving notification emails like this one, please contact the administrator of this repository. _______________________________________________ Xfce4-commits mailing list Xfce4-commits@xfce.org https://mail.xfce.org/mailman/listinfo/xfce4-commits