diff libpurple/privacy.h @ 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 0a0ece3477af
children 828d21a1ec43
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"