/soc/2015/koosha/main: 33a3d9070214: Make flags definitions back...
Koosha Khajehmoogahi <[email protected]>
| Newsgroups | gmane.comp.gnome.gaim.cvs |
|---|---|
| Message-ID | <[email protected]> |
Changeset: 33a3d9070214894e58d0a1b4aac86c3ad5ba0222 Author: Koosha Khajehmoogahi <[email protected]> Date: 2015-07-10 17:48 +0200 Branch: default URL: https://hg.pidgin.im/soc/2015/koosha/main/rev/33a3d9070214 Description: Make flags definitions backward-compatible with the old code diffstat: libpurple/conversation.h | 17 +++++++++-------- 1 files changed, 9 insertions(+), 8 deletions(-) diffs (27 lines): diff --git a/libpurple/conversation.h b/libpurple/conversation.h --- a/libpurple/conversation.h +++ b/libpurple/conversation.h @@ -129,14 +129,15 @@ typedef enum /*< flags >*/ PURPLE_MESSAGE_ACTIVE_ONLY = 1 << 4, PURPLE_MESSAGE_NICK = 1 << 5, PURPLE_MESSAGE_NO_LOG = 1 << 6, - PURPLE_MESSAGE_ERROR = 1 << 7, - PURPLE_MESSAGE_DELAYED = 1 << 8, - PURPLE_MESSAGE_RAW = 1 << 9, - PURPLE_MESSAGE_IMAGES = 1 << 10, - PURPLE_MESSAGE_NOTIFY = 1 << 11, - PURPLE_MESSAGE_NO_LINKIFY = 1 << 12, - PURPLE_MESSAGE_INVISIBLE = 1 << 13, - PURPLE_MESSAGE_REPLACE_LAST = 1 << 14, + PURPLE_MESSAGE_REPLACE_LAST = 1 << 7, + /* The gap here is for backward compatibility with the old code */ + PURPLE_MESSAGE_ERROR = 1 << 9, + PURPLE_MESSAGE_DELAYED = 1 << 10, + PURPLE_MESSAGE_RAW = 1 << 11, + PURPLE_MESSAGE_IMAGES = 1 << 12, + PURPLE_MESSAGE_NOTIFY = 1 << 13, + PURPLE_MESSAGE_NO_LINKIFY = 1 << 14, + PURPLE_MESSAGE_INVISIBLE = 1 << 15, } PurpleMessageFlags; #include <glib.h> _______________________________________________ Commits mailing list [email protected] https://pidgin.im/cgi-bin/mailman/listinfo/commits