[gtkmm] gtkmmproc bugleg + question



Hi,

 tools/using_gtkmmproc.txt says:

_DEFS (meta)
------------
Takes one argument which is the def file to read.

 a quick trip into tools/pm/WrapParser.pm reveals it takes two
 arguments; a module name and a defs filename (sans .defs extension).

 When running getkmmproc I get the following error:

No conversion from GdkColormap* to Glib::RefPtr<const Gdk::Colormap> defined (line: , parameter name: gobj()->colormap)

 I'm obviously missing something in my .hg file, but I have no clue what
 that might be.  I have:

#include <gtkmm/colormap.h>

_PINCLUDE(gtkmm/private/colormap_p.h)

 And the line which triggers this problem is:

_CLASS_GDKOBJECT(Config,GdkGLConfig,GDK_GL_CONFIG,Gdk::GL::Config,GdkGLConfig)

 In which directory should I run gtkmmproc?  That is, how does it find
 gtkmm/private/colormap_p.h?  ATM I'm running gtkmmproc at the top
 source directory of gtkmm but my files (.hg's, .cc's and .defs) are all
 somewhere else.

 The only _DEFS I have includes the stuff the new classes define, not
 gtk.defs.  Is that the problem?

 TIA,

-- 
Marcelo



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