[Top][All Lists]
[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: |
Tue, 29 Jul 2003 09:42:06 +0200 |
> As I understand things, there are three solutions:
>
> 1. Revert the change.
>
> 2. Let the configure script distinguish between 2.01 <= GTK < 2.2
> and GTK >= 2.2 and revert the change for the first case.
>
> 3. Let the configure script require GTK >= 2.2 in order to compile
> Emacs with GTK.
>
> The second option is probably best, but my knowledge of autoconf is
> too limited to implement this. Volunteers?
I see option 3 has been applied, but the attached patchlet reverts it and
implements option 2. I've chosen an explicit version check in xfns.c;
I suppose a configure-time check for either the gtk version or the
specific function could work too.
I guess it depends on whether the plan is to include more gtk 2.2+
functionality or not - as it stands, this patch allows emacs to use GTK
on not-so-cutting-edge Linux machines (e.g. RedHat pre-9.0).
gtk.patch
Description: a/octet-stream
-- This e-mail was scanned by RAV Antivirus --