emacs-pretest-bug
[Top][All Lists]
Advanced

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

Re: Use of `gtk_window_set_icon_from_file' in src/xfns.c


From: Tim Van Holder
Subject: Re: Use of `gtk_window_set_icon_from_file' in src/xfns.c
Date: Thu, 31 Jul 2003 11:50:32 +0200

> I agree with Tim that this approach is better.  Maybe someone
> knowledgeable on autoconf could apply a modified version of Tim's
> patch?  That is, it seems to me that it is better to set HAVE_GTK_2_2
> in configure.in and use that in src/xfns.c instead of the
> 
> (GTK_MAJOR_VERSION > 2 || (GTK_MAJOR_VERSION == 2 && 
> GTK_MINOR_VERSION >= 2)) 
> 
> construct.

True - of course you could just put

#ifdef HAVE_GTK
# include <gtkversion.h>
# if (GTK_MAJOR_VERSION > 2 || (GTK_MAJOR_VERSION == 2 && GTK_MINOR_VERSION
>= 2)) 
#  define HAVE_GTK_2_2
# endif
#endif

in some header for the same effect without having to touch the
configure script at all.

-- This e-mail was scanned by RAV Antivirus --





reply via email to

[Prev in Thread] Current Thread [Next in Thread]