[glade--] glademm generated filechooserdialog code broken?



Hi,
I used Glade-2.0 (glademm-2.4) to generate C++ code for a window and a
filechooserdialog and get the following error:

---- relevant build messages (line numbers added for referencing) ----
imageviewer.cc: In function `int main(int, char**)':
imageviewer.cc:23: error: no matching function for call to
`filechooserdialog1
   ::filechooserdialog1()'
filechooserdialog1.hh:16: error: candidates are: 
   filechooserdialog1::filechooserdialog1(const filechooserdialog1&)
filechooserdialog1.hh:19: error:                 
   filechooserdialog1::filechooserdialog1(GlademmData*)
---- end build messages ---

Relevant source code follows:

---- begin code excerpt ----
  imageviewer.cc:
23	filechooserdialog1 *filechooserdialog1 = new class
filechooserdialog1();

  filechooserdialog1.hh:
15	class filechooserdialog1 : public filechooserdialog1_glade
16	{  
17	public:
18	        
19	        filechooserdialog1(GlademmData *gmm_data) :
filechooserdialog1_glade(gmm_data)
20 	        {
21            }  
---- end code excerpt ---

Could someone explain the purpose of GlademmData, and how to fix this?

Thanks in advance,
Johan Kohler

--------------------------------------------------------------------
Please find our disclaimer at http://www.ukzn.ac.za/disclaimer
--------------------------------------------------------------------
<<<<gwavasig>>>>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]