pidgin: 68f3a9f4: Patch from Toby Schaffer to avoid an ass...
datallah at pidgin.im
datallah at pidgin.im
Mon Sep 14 22:46:04 EDT 2009
-----------------------------------------------------------------
Revision: 68f3a9f4807ebc5f947b2948ca0623d75d322134
Ancestor: 137c7a7cf26f4bb4c81346009a2c7fb6c88f0024
Author: datallah at pidgin.im
Date: 2009-09-15T02:43:59
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/68f3a9f4807ebc5f947b2948ca0623d75d322134
Modified files:
pidgin/gtkconv.c
ChangeLog:
Patch from Toby Schaffer to avoid an assertion when detaching an non-existant GtkSpell pointer. Fixes #10275.
-------------- next part --------------
============================================================
--- pidgin/gtkconv.c f84dc26ab98d8439b7a2ad3a47865c6a2b9e78bb
+++ pidgin/gtkconv.c 47d07cd5ee991fa45a6ef95ddb51308e998f6f7f
@@ -7277,7 +7277,8 @@ spellcheck_pref_cb(const char *name, Pur
pidgin_setup_gtkspell(GTK_TEXT_VIEW(gtkconv->entry));
else {
spell = gtkspell_get_from_text_view(GTK_TEXT_VIEW(gtkconv->entry));
- gtkspell_detach(spell);
+ if (spell)
+ gtkspell_detach(spell);
}
}
#endif
More information about the Commits
mailing list