Jeff Sparkes writes:
That code dates back to Gtk 1.X. I've updated my
[[configure.ac]]
based on your changes.
Doesn't surprise me ... clearly it was really old.
I've flipped the configure switch to pick GTK3 first, or fallback
to
GTK2. I hope nobody wants to use GTK 2 even if they have 3..
Let me try that ...
Urk. It looks like HAVE_GTK2 and HAVE_GTK3 are supposed to be mutually
exclusive, but configure.ac seems to always define HAVE_GTK2. Fixing ...
Yes, commenting out the second AC_DEFINE(HAVE_GTK2) fixes the build.
Unfortunately, it doesn't fix the crash in g_type_fundamental(). I
bet Stallman added an assert(os_type != DARWIN). :-P
To avoid this kind of duplicated but slightly wrong Issueode , you
could #define GTK_VERSION (or perhaps GTK_MAJOR_VERSION) to 2 or 3 as
discovered, and use #if (GTK_VERSION == 2) etc as appropriate.
Alternatively use #if defined(HAVE_GTK3) ... #elif defined(HAVE_GTK3).
The clang 3.4 compiler issues a lot of warnings about unused and
uninitialized variables and functions. Are you aware of these issues?
Aha, the test quite breaks because the fontconfig functions (fc-*)
aren't built. Before we try to fix that ... as I wrote earlier, I
think fontconfig should be our primary interface for describing fonts,
with translations from other font descriptors (eg, legacy XLFD and
"short names") written in Lisp. What's your current thinking about
that?
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-beta