auto interest transfer try #2

Dave Peticolas dave@krondo.com
16 Jun 2001 22:37:26 -0700


On 17 Jun 2001 00:32:22 -0500, Kevin Finn wrote:
>      I can't seem to get a build right now, but the build I did with
> these changes before merging up to CVS worked OK, so I'll send it in.  I

I'm not sure why your build is failing -- nothing was changed wrt to
g-wrap lately.


> noticed that dialog-transfer has been converted to glade; right now some
> of the stuff I added is still using gtk_object_get_data rather than
> gnc_glade_xml_new/glade_xml_get_widget; I wasn't sure if it was a great
> idea to read in the whole XML document just to hunt down one widget.  If
> it's a big deal, maybe we could store the Glade_XML in the XferDialog
> and use it as needed?

That's not how it works. The xml file is only read in once
and the xml object persists with the widget tree.

Please use the glade api or the wrapped glade api to get
widgets -- using gtk_object_get_data was always kind of
a hack that depended on the glade/libglade implementation.

I will go ahead an convert your calls so you don't need
to submit another patch.

thanks,
dave