diff options
Diffstat (limited to 'app-office/abiword/files/abiword-2.4.2-spell_crash_1.patch')
-rw-r--r-- | app-office/abiword/files/abiword-2.4.2-spell_crash_1.patch | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/app-office/abiword/files/abiword-2.4.2-spell_crash_1.patch b/app-office/abiword/files/abiword-2.4.2-spell_crash_1.patch new file mode 100644 index 000000000000..073b579aafec --- /dev/null +++ b/app-office/abiword/files/abiword-2.4.2-spell_crash_1.patch @@ -0,0 +1,40 @@ +Index: src/wp/ap/unix/ap_UnixDialog_Spell.cpp +=================================================================== +RCS file: /cvsroot/abi/src/wp/ap/unix/ap_UnixDialog_Spell.cpp,v +retrieving revision 1.45 +diff -u -5 -r1.45 ap_UnixDialog_Spell.cpp +--- src/wp/ap/unix/ap_UnixDialog_Spell.cpp 19 Feb 2005 04:50:22 -0000 1.45 ++++ src/wp/ap/unix/ap_UnixDialog_Spell.cpp 29 Jan 2006 15:29:46 -0000 +@@ -207,11 +207,16 @@ + makeWordVisible(); + + // update dialog with new misspelled word info/suggestions + _updateWindow(); + +- // run into the GTK event loop for this window ++ m_listHandlerID = g_signal_connect (gtk_tree_view_get_selection (GTK_TREE_VIEW (m_lvSuggestions)), ++ "changed", ++ G_CALLBACK (AP_UnixDialog_Spell__onSuggestionSelected), ++ (gpointer)this); ++ ++ // run into the GTK event loop for this window + gint response = abiRunModalDialog (GTK_DIALOG(mainWindow), false); + UT_DEBUGMSG (("ROB: response='%d'\n", response)); + switch(response) { + + case SPELL_RESPONSE_CHANGE: +@@ -301,14 +306,10 @@ + (gpointer)this); + g_signal_connect (GTK_TREE_VIEW (m_lvSuggestions), + "row-activated", + G_CALLBACK (AP_UnixDialog_Spell__onSuggestionDblClicked), + (gpointer)this); +- m_listHandlerID = g_signal_connect (gtk_tree_view_get_selection (GTK_TREE_VIEW (m_lvSuggestions)), +- "changed", +- G_CALLBACK (AP_UnixDialog_Spell__onSuggestionSelected), +- (gpointer)this); + m_replaceHandlerID = g_signal_connect (G_OBJECT(m_eChange), + "changed", + G_CALLBACK (AP_UnixDialog_Spell__onSuggestionChanged), + (gpointer)this); + |