im.pidgin.pidgin.2.2.2: 1d07824bc5fc88bc95f6b43ff93a75f8d5c8ded0
lschiere at pidgin.im
lschiere at pidgin.im
Sun Oct 21 01:16:05 EDT 2007
-----------------------------------------------------------------
Revision: 1d07824bc5fc88bc95f6b43ff93a75f8d5c8ded0
Ancestor: 1785e3a69261085ab115590cccda3a142a464944
Author: lschiere at pidgin.im
Date: 2007-10-21T04:54:43
Branch: im.pidgin.pidgin.2.2.2
Modified files:
libpurple/account.c
ChangeLog:
applied changes from 7a436ba53de6adebccf4e920ca62d544e13b1094
through 5473bd4fec59a55c8ad482c92cc518fea564a241
-------------- next part --------------
============================================================
--- libpurple/account.c 7b72d1151464af49fc470e957c42d154ed8ff72b
+++ libpurple/account.c e01143f1357d87110ac982d3e2a7c479019987d4
@@ -52,7 +52,7 @@ typedef struct
{
int integer;
char *string;
- gboolean bool;
+ gboolean boolean;
} value;
@@ -104,7 +104,7 @@ setting_to_xmlnode(gpointer key, gpointe
}
else if (setting->type == PURPLE_PREF_BOOLEAN) {
xmlnode_set_attrib(child, "type", "bool");
- snprintf(buf, sizeof(buf), "%d", setting->value.bool);
+ snprintf(buf, sizeof(buf), "%d", setting->value.boolean);
xmlnode_insert_data(child, buf, -1);
}
}
@@ -1578,7 +1578,7 @@ purple_account_set_bool(PurpleAccount *a
setting = g_new0(PurpleAccountSetting, 1);
setting->type = PURPLE_PREF_BOOLEAN;
- setting->value.bool = value;
+ setting->value.boolean = value;
g_hash_table_insert(account->settings, g_strdup(name), setting);
@@ -1664,7 +1664,7 @@ purple_account_set_ui_bool(PurpleAccount
setting->type = PURPLE_PREF_BOOLEAN;
setting->ui = g_strdup(ui);
- setting->value.bool = value;
+ setting->value.boolean = value;
table = get_ui_settings_table(account, ui);
@@ -1939,7 +1939,7 @@ purple_account_get_bool(const PurpleAcco
g_return_val_if_fail(setting->type == PURPLE_PREF_BOOLEAN, default_value);
- return setting->value.bool;
+ return setting->value.boolean;
}
int
@@ -2005,7 +2005,7 @@ purple_account_get_ui_bool(const PurpleA
g_return_val_if_fail(setting->type == PURPLE_PREF_BOOLEAN, default_value);
- return setting->value.bool;
+ return setting->value.boolean;
}
PurpleLog *
More information about the Commits
mailing list