Re: make check fails in test-load-xml2
Josh Sled [EMAIL PROTECTED] writes: On Wed, 2006-02-15 at 11:24 -0500, Derek Atkins wrote: I was trying to test a buildsystem change and noticed that make check is failing now. I suspect this is due to adding gconf into the xml backend. Here's the backtrace from test-load-xml2. It was due to the g-types system not being initialized before calling gconf code, as is documented in the gconf API. :/ I fixed this instance by calling g_type_init() at the top of the test's main. I moved the init into the module but the test doesn't actually LOAD the module -- it just links against it. *sigh* So the module init code was never called. Bad Test! No Biscuit! I left the init in the module, but I also re-added the init to the test, rather that loading the module. *sigh* -derek -- Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory Member, MIT Student Information Processing Board (SIPB) URL: http://web.mit.edu/warlord/PP-ASEL-IA N1NWH [EMAIL PROTECTED]PGP key available ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel
Re: [PATCH] Updated add/edit account window
Hi, On Wednesday, 15 Feb 2006, 23:25 CET, Chris Shoemaker wrote: On Wed, Feb 15, 2006 at 06:40:10PM +0100, Andreas Köhler wrote: Here is a patch that tries to replace the list store with a filtered GncTreeModelAccountTypes. If you do not want to go this way (do not think so), there are still two open bugs in my own code ;) Just out of curiousity, were you referring to bugs in this patch? Anyway... I try to fix all bugs I know of _before_ I send in a patch :) No, I was referring to minor mistakes I made, but which have now gone to /dev/null. I just applied a rather extended version of this patch as r13271. Take a look. I think you'll see that it's much nicer to hide the complex conversions of paths and iters between the filter model and the child model _inside_ gnc-tree-model-account-types.c, where it has to be considered anyway. But, in the account dialog, this becomes as simple as using GNCAccountType gnc_tree_model_account_types_get_selection_single(GtkTreeSelection *sel); and void gnc_tree_model_account_types_set_selection(GtkTreeSelection *sel, guint32 selected); Yeah, looks good to me! Now, I didn't commit the gnc_tree_model_account_types_get_iter_from_type(), but we should hold on to the idea, because, if we decide to use a GtkComboBox, the GtkTreeSelection functions won't help. We'd need something very much like gnc_tree_model_account_types_get_iter_from_type() [ and ...get_type_from_iter() ], _except_ they should work with the _filter-model's_ iters, not the child model's iters. The goal here is that there be only one kind of account-types treemodel - the filtered kind - so we want to hide the child model and _all_ its iters. Roger that. There is still one open issue I need to address, although I got the feeling that the current solution is ok. Do we need sorting on the model? Any consensus about that? -- andi5 ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel
Updated gentoo ebuild; Re: List of dependencies?
On Fri, 2006-02-10 at 21:17 +0100, Martin Klaffenboeck wrote: Is there a list of dependencies for gnucash-1.9.0 somewhere? I don't really need them, because it builds well here, but for the gentoo ebuild I would like to set some dependencies, but it's not so important for me to read the config.log (or configure.ac) files. I revised the ebuild attached to http://bugs.gentoo.org/show_bug.cgi?id=122337 , and came out with the following: RDEPEND==dev-libs/glib-2.4.0* =dev-util/guile-1.6 amd64? ( =dev-util/guile-1.6.4-r2 ) =dev-libs/slib-2.3.8 =sys-libs/zlib-1.1.4 =dev-libs/popt-1.5 =x11-libs/gtk+-2.4* =gnome-base/libgnomeui-2.4* =media-libs/gdk-pixbuf-0.22.0* =gnome-base/libgnomeprint-2.10* =gnome-base/libgnomeprintui-2.10* =gnome-base/libglade-2.4* =gnome-extra/gtkhtml-3.6* =dev-libs/libxml2-2.5.10* =dev-libs/g-wrap-1.3.4 =gnome-base/gconf-2 =app-text/scrollkeeper-0.3* doc? ( app-doc/doxygen ) ofx? ( =dev-libs/libofx-0.7.0 ) hbci? ( net-libs/aqbanking chipcard? ( sys-libs/libchipcard ) ) quotes? ( dev-perl/DateManip dev-perl/Finance-Quote dev-perl/HTML-TableExtract ) postgres? ( dev-db/postgresql ) DEPEND=${RDEPEND} =dev-libs/slib-2.3.8 dev-util/pkgconfig nls? ( sys-devel/gettext ) The full ebuild is at http://bugs.gentoo.org/attachment.cgi?id=79960 . We should probably track it in SVN as well, maybe once it's a bit further along. -- ...jsled http://asynchronous.org/ - `a=jsled; b=asynchronous.org; echo [EMAIL PROTECTED] ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel
Re: gnucash gentoo-amd64
Derek, r13279 on amd64 dialog-account.c -fPIC -DPIC -o .libs/dialog-account.o dialog-account.c: In function `gnc_account_type_view_create': dialog-account.c:1150: warning: cast from pointer to integer of different size make[5]: *** [dialog-account.lo] Error 1 make[5]: Leaving directory `/home/chris/cvs/gnucash-test/src/gnome-utils' make[4]: *** [all-recursive] Error 1 Chris On Mon, 2006-02-13 at 11:25 -0500, Derek Atkins wrote: Hi, This should be fixed in r13257. Could you please check and verify? Thanks, -derek Martin Klaffenboeck [EMAIL PROTECTED] writes: In file included from PostgresBackend.c:336: base-autogen.c: In function `pgendAccountCompareVersion': base-autogen.c:1078: warning: cast from pointer to integer of different size base-autogen.c: In function `pgendBookCompareVersion': base-autogen.c:1105: warning: cast from pointer to integer of different size base-autogen.c: In function `pgendTransactionCompareVersion': base-autogen.c:1132: warning: cast from pointer to integer of different size base-autogen.c: In function `pgendPriceCompareVersion': base-autogen.c:1159: warning: cast from pointer to integer of different size base-autogen.c: In function `pgendAccountGetDeletedVersion': base-autogen.c:1185: warning: cast from pointer to integer of different size base-autogen.c: In function `pgendBookGetDeletedVersion': base-autogen.c:1209: warning: cast from pointer to integer of different size base-autogen.c: In function `pgendTransactionGetDeletedVersion': base-autogen.c:1233: warning: cast from pointer to integer of different size base-autogen.c: In function `pgendPriceGetDeletedVersion': base-autogen.c:1257: warning: cast from pointer to integer of different size make[6]: *** [PostgresBackend.lo] Error 1 make[6]: Leaving directory `/var/tmp/portage/gnucash-svn-20060112/work/gnucash-svn-20060112/src/backend/postgres' make[5]: *** [all-recursive] Error 1 -- RedHat Certified Engineer #807302549405490. Checkpoint Certified Security Expert 2000 NG |^| | | |^| | |^| | | Life out here is raw | | |^| | But we will never stop | |_|_| | We will never quit | / __ | cause we are Metallica |/ /| \ / | | ___ gnucash-devel mailing list gnucash-devel@gnucash.org https://lists.gnucash.org/mailman/listinfo/gnucash-devel