From 6b95edf2f2a9cdbc2470c602419e9183d0f3b35f Mon Sep 17 00:00:00 2001 From: discomfitor Date: Thu, 3 Nov 2011 13:58:38 +0000 Subject: [PATCH] convert hex values to bitwise ops for readability git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/e_dbus@64698 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/lib/notification/E_Notify.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/lib/notification/E_Notify.h b/src/lib/notification/E_Notify.h index b6544e1..ecff074 100644 --- a/src/lib/notification/E_Notify.h +++ b/src/lib/notification/E_Notify.h @@ -50,10 +50,10 @@ enum E_Notification_Closed_Reason enum E_Notification_Hint_Type { - E_NOTIFICATION_HINT_URGENCY = 0x1, - E_NOTIFICATION_HINT_CATEGORY = 0x2, - E_NOTIFICATION_HINT_DESKTOP = 0x4, - E_NOTIFICATION_HINT_SOUND_FILE = 0x8, + E_NOTIFICATION_HINT_URGENCY = (1 << 0), + E_NOTIFICATION_HINT_CATEGORY = (1 << 1), + E_NOTIFICATION_HINT_DESKTOP = (1 << 2), + E_NOTIFICATION_HINT_SOUND_FILE = (1 << 3), E_NOTIFICATION_HINT_SUPPRESS_SOUND = 0x10, E_NOTIFICATION_HINT_XY = 0x20, E_NOTIFICATION_HINT_IMAGE_DATA = 0x40 -- 2.7.4