On Fri, Jul 13, 2007 at 10:07:05AM +0100, SUBSCRIBE COOT Rafael Navaza wrote:
> Hi Paul,
>
> The first time I compiled Coot with gtk2/guile/guile-gtk support I had
> gtkglarea installed on my system, then I didn't see that in the following
> files :
>
> src/graphics-info-modelling.cc
> "src/graphics-info-mutate.cc"
> src/graphics-info.cc
> src/pick.cc
> src/graphics-info-pick.cc
> src/graphics-info-graphs.cc
>
> we need to replace :
>
> #include <gtkgl/gtkglarea.h>
>
> with something like :
>
> #if (GTK_MAJOR_VERSION == 1) || defined (GTK_ENABLE_BROKEN)
> #include <gtkgl/gtkglarea.h>
> #else
> #include <gdk/gdkglconfig.h>
> #include <gtk/gtkgl.h>
> #endif // (GTK_MAJOR_VERSION == 1) || defined (GTK_ENABLE_BROKEN)
Hi Rafael,
Ha - funny. Seems that I have never compiled with GTK2 any that I
had not previously compiled using GKT1.
In fact all of those files require neither gtkglarea.h nor gtk/gtkgl.h.
It was obviously a sloppy bit of cut 'n pasting originally.
Cheers,
Paul.
|