/pidgin/main: 25315e6176cd: Fix a crash in account setup dialog
Tomasz Wasilczyk
tomkiewicz at cpw.pidgin.im
Sun Jul 15 07:14:22 EDT 2012
Changeset: 25315e6176cd776130027dd78aba05e8cff122b3
Author: Tomasz Wasilczyk <tomkiewicz at cpw.pidgin.im>
Date: 2012-07-15 13:14 +0200
Branch: default
URL: http://hg.pidgin.im/pidgin/main/rev/25315e6176cd
Description:
Fix a crash in account setup dialog
diffstat:
pidgin/gtkaccount.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diffs (15 lines):
diff --git a/pidgin/gtkaccount.c b/pidgin/gtkaccount.c
--- a/pidgin/gtkaccount.c
+++ b/pidgin/gtkaccount.c
@@ -270,6 +270,11 @@
GHashTable *table;
const char *label;
+ if (!dialog->prpl_info || ! PURPLE_PROTOCOL_PLUGIN_HAS_FUNC(
+ dialog->prpl_info, get_account_text_table)) {
+ return FALSE;
+ }
+
table = dialog->prpl_info->get_account_text_table(NULL);
label = g_hash_table_lookup(table, "login_label");
More information about the Commits
mailing list