Re: Bug in gtk_tree_data_list_compare_func
- From: James Henstridge <james daa com au>
- To: David Hampton <hampton employees org>
- Cc: gtk-devel-list gnome org
- Subject: Re: Bug in gtk_tree_data_list_compare_func
- Date: Thu, 20 Nov 2003 14:41:10 +0800
On 20/11/2003 12:36 PM, David Hampton wrote:
This function doesn't handle sorting on a column that holds boolean
values. The error message is:
(gnucash:27003): GLib-GObject-CRITICAL **: file gvaluetypes.c: line 613
(g_value_get_int): assertion `G_VALUE_HOLDS_INT (value)' failed
The code errors because this function uses gvalue integer functions on a
gvalue that is of boolean type. This exists in both the 2.2 branch and
on HEAD. (Its also in 2.0, fwiw. Looks like a day one bug.) A patch
is attached below.
To make sure that patches like this don't get lost, it would be a good
idea to file it in bugzilla (http://bugzilla.gnome.org/). Simply create
a new bug report, and attach the patch to the bug after creation (there
is a "create new attachment" link on the bug page).
James.
--
Email: james daa com au
WWW: http://www.daa.com.au/~james/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]