On Sun, Jun 6, 2010 at 4:26 PM, Bram Moolenaar wrote: > > James Vega wrote: > >> On Sat, Jun 05, 2010 at 10:37:39PM +0200, Patrick Texier wrote: >> > Le Sat, 05 Jun 2010 16:16:06 +0200, Bram Moolenaar a écrit dans le >> > message <201006051416.o55eg6to002...@masaka.moolenaar.net> : >> > >> > > Patch 7.2.442 (after 7.2.201) >> > >> > Using Linux/GCC 3.2/GTK 1, I can't compile this patch. I think that >> > gtk_selection_clear_targets is not available with GTK 1. >> >> It isn't and I don't see equivalent functionality in GTK 1's API. One >> possibility is to keep the old code for builds using GTK 1, which would >> resurface the buggy interaction with OpenOffice.org for anyone still >> building against GTK 1. Although, OpenOffice.org requires GTK 2, so you >> probably won't run into that problem. >> >> Personally, I'd prefer to remove all the GTK 1 code from Vim since GTK 1 >> isn't supported by its upstream anymore and has been deprecated for >> years. As it is, parts of Vim will need to be changed for compatibility >> with GTK 3 when that comes out, and supporting three different GTK >> versions just seems like overkill, in my opinion. >> >> > gcc version 3.2 (Mandrake Linux 9.0 3.2-1mdk) >> >> You're using a Linux distribution that was released 8 years ago, a year >> and a half after the last release of GTK 1. I'm surprised this is the >> first new release of a piece of software that hasn't worked. > > What do others think about removing support for GTK 1? It makes sense, > any system where you would try to build Vim 7.3 should be able to > install GTK 2 libraries. It will clean up the Vim source code.
I'm a fan of the idea. I work on systems with the Motif gvim and the GTK 2 gvim, but I don't think I've ever worked on a system with a GTK1 gvim. The number of #ifdef's in the GUI code is ridiculous, so I strongly support anything that will make life easier for Bram and other contributors. ~Matt -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php