changeset 27623:606a0e577b34

There were some concerns about possible API breakage from removing _PurplePrivacyType. This change hopefully doesn't break anything.
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Wed, 15 Jul 2009 06:09:22 +0000
parents 5c17c400153d
children b20d83875771
files libpurple/privacy.h
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/privacy.h	Wed Jul 15 04:27:22 2009 +0000
+++ b/libpurple/privacy.h	Wed Jul 15 06:09:22 2009 +0000
@@ -29,14 +29,16 @@
 /**
  * Privacy data types.
  */
-typedef enum
+typedef enum _PurplePrivacyType PurplePrivacyType;
+
+enum _PurplePrivacyType
 {
 	PURPLE_PRIVACY_ALLOW_ALL = 1,
 	PURPLE_PRIVACY_DENY_ALL,
 	PURPLE_PRIVACY_ALLOW_USERS,
 	PURPLE_PRIVACY_DENY_USERS,
 	PURPLE_PRIVACY_ALLOW_BUDDYLIST
-} PurplePrivacyType;
+};
 
 #include "account.h"