On Fri, Jun 18, 2010 at 2:45 PM, Charles Campbell <[email protected]> wrote: > Bram Moolenaar wrote: >> >> 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. >> >> > > May I suggest that if GTK-1 is detected, that a message about the problem be > issued: > > #if defined(FEAT_GUI_GTK) && !defined(HAVE_GTK2) > # error "GTK 1 is no longer supported" > #endif
If GTK 1 support is removed, then that check would never be true. FEAT_GUI_GTK is only defined if Vim is being built with a GTK gui, so it's either being built against GTK 2 or it isn't using GTK. -- James GPG Key: 1024D/61326D40 2003-09-02 James Vega <[email protected]> -- 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
