GLADE file doesn't match sources?

Derek Atkins warlord@MIT.EDU
05 Dec 2000 15:50:49 -0500


Dave Peticolas <dave@krondo.com> writes:

> Derek Atkins writes:
> > Is there any reason that the glade file doesn't match up with the
> > sources in CVS?  In particular, if I go into src/gnome and type "glade
> > gnc-dialogs.glade", and then hit 'build', the sources I obtain don't
> > match the sources in CVS.  Indeed, the sources that glade creates
> > don't even build!
> 
> What version of glade are you using? When I do the same procedure,
> the sources are unchanged. I am using glade 0.5.9.

glade --version
Gnome Glade 0.5.5

> > Is there any reason this is the case?  It turns out the reason for the
> > compilation failure is a missing widget name (payment_total).
> 
> There could be a bug in your version of glade. The widget in question
> is in the financial calculator, and it is present in my generated sources.

The problem I had was that the Financial Calculator widget in queston
has <name></name>, so glade creates an entry of:
	GtkWidget *;
which is obviously wrong.

> dave

-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      N1NWH
       warlord@MIT.EDU                        PGP key available