diff -u gnucash-2.2.6/debian/changelog gnucash-2.2.6/debian/changelog --- gnucash-2.2.6/debian/changelog +++ gnucash-2.2.6/debian/changelog @@ -1,3 +1,9 @@ +gnucash (2.2.6-2ubuntu5) jaunty; urgency=low + + * fix regressions introduced by last patch (r17781) (LP: #305066) + + -- Saïvann Carignan Sun, 21 Dec 2008 02:56:57 -0500 + gnucash (2.2.6-2ubuntu4) jaunty; urgency=low * fix segfault due to glib2-2.19 transition (LP: #305066) diff -u gnucash-2.2.6/debian/patches/03_segfault_r17761.dpatch gnucash-2.2.6/debian/patches/03_segfault_r17761.dpatch --- gnucash-2.2.6/debian/patches/03_segfault_r17761.dpatch +++ gnucash-2.2.6/debian/patches/03_segfault_r17761.dpatch @@ -6,21 +6,12 @@ ## DP: Upstream: http://bugzilla.gnome.org/show_bug.cgi?id=563273 ## DP: Description: segfault due to glib2-2.19 transition ## DP: Commit: http://svn.gnucash.org/trac/changeset/17761 +## DP: Commit: http://svn.gnucash.org/trac/changeset/17781 @DPATCH@ diff -urNad gnucash-2.2.6~/src/register/register-gnome/gnucash-sheet.c gnucash-2.2.6/src/register/register-gnome/gnucash-sheet.c --- gnucash-2.2.6~/src/register/register-gnome/gnucash-sheet.c 2008-01-07 19:05:28.000000000 -0600 +++ gnucash-2.2.6/src/register/register-gnome/gnucash-sheet.c 2008-12-20 13:43:43.000000000 -0600 -@@ -2367,7 +2367,8 @@ - sheet->width = 0; - sheet->height = 0; - -- sheet->cursor_styles = g_hash_table_new (g_str_hash, g_str_equal); -+ sheet->cursor_styles = g_hash_table_new_full (g_str_hash, g_str_equal, -+ g_free, NULL); - - sheet->blocks = g_table_new (sizeof (SheetBlock), - gnucash_sheet_block_construct, @@ -2426,8 +2427,9 @@ sheet->grid = item;