Works! Thanks a lot! -- Andy
Axel Simon <axel.si...@ens.fr> writes: > On Dec 11, 2009, at 16:18, Andy Stewart wrote: > >> Hi Axel, >> >> I found DBus-Glib functions need including two header files: >> `dbus/dbus-glib.h` and `dbus/dbus-glib-lowlevel.h`. >> >> How to make gtk2hs can scan above two header files? >> >> I changed Makefile.am from: >> libHSdbus_a_HEADER = dbus/dbus-glib.h >> to >> libHSdbus_a_HEADER = dbus/dbus-glib.h >> dbus/dbus-glib-lowlevel.h >> >> But it can't work. >> >> I need change other place? >> > > No, this is the file that is passed to our c2hs tool. It can only deal with > one file. If you need > both, you need to create a new C header file that includes both .h files: > >> libHSdbus_a_HEADER = dbus/dbus2hs.h > > in dbus/dbus2hs.h: > > #include<dbus/dbus-glib.h> > #include<dbus/dbug-glib-lowlevel.h> > > > Cheers, > Axel. ------------------------------------------------------------------------------ Return on Information: Google Enterprise Search pays you back Get the facts. http://p.sf.net/sfu/google-dev2dev _______________________________________________ Gtk2hs-devel mailing list Gtk2hs-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/gtk2hs-devel