/soc/2013/ankitkv/gobjectification: 9da48e98a77a: Renamed Purple...
Ankit Vani
a at nevitus.org
Wed Jun 19 13:21:19 EDT 2013
Changeset: 9da48e98a77a9137ea1ed4866b0a2a9adc57aacd
Author: Ankit Vani <a at nevitus.org>
Date: 2013-06-19 22:48 +0530
Branch: soc.2013.gobjectification
URL: https://hg.pidgin.im/soc/2013/ankitkv/gobjectification/rev/9da48e98a77a
Description:
Renamed PurpleAccount's private member perm_deny to privacy_type
diffstat:
libpurple/account.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (39 lines):
diff --git a/libpurple/account.c b/libpurple/account.c
--- a/libpurple/account.c
+++ b/libpurple/account.c
@@ -74,7 +74,7 @@ typedef struct
*/
GSList *permit; /**< Permit list. */
GSList *deny; /**< Deny list. */
- PurpleAccountPrivacyType perm_deny; /**< The permit/deny setting. */
+ PurpleAccountPrivacyType privacy_type; /**< The permit/deny setting. */
GList *status_types; /**< Status types. */
@@ -914,7 +914,7 @@ purple_account_set_privacy_type(PurpleAc
g_return_if_fail(account != NULL);
priv = PURPLE_ACCOUNT_GET_PRIVATE(account);
- priv->perm_deny = privacy_type;
+ priv->privacy_type = privacy_type;
}
void
@@ -1524,7 +1524,7 @@ purple_account_get_privacy_type(const Pu
g_return_val_if_fail(account != NULL, PURPLE_ACCOUNT_PRIVACY_ALLOW_ALL);
priv = PURPLE_ACCOUNT_GET_PRIVATE(account);
- return priv->perm_deny;
+ return priv->privacy_type;
}
gboolean
@@ -2898,7 +2898,7 @@ static void purple_account_init(GTypeIns
g_free, (GDestroyNotify)g_hash_table_destroy);
priv->system_log = NULL;
- priv->perm_deny = PURPLE_ACCOUNT_PRIVACY_ALLOW_ALL;
+ priv->privacy_type = PURPLE_ACCOUNT_PRIVACY_ALLOW_ALL;
}
/* GObject dispose function */
More information about the Commits
mailing list