4 From: Bram Moolenaar <Bram@moolenaar.net>
6 Content-Type: text/plain; charset=ISO-8859-1
7 Content-Transfer-Encoding: 8bit
11 Problem: Can't compile with GTK and tiny features.
12 Solution: Include handle_drop() and vim_chdirfile() when FEAT_DND is defined.
13 Do not try to split the window.
14 Files: src/ex_docmd.c, src/misc2.c
17 *** ../vim-6.2.093/src/ex_docmd.c Fri Sep 12 19:56:26 2003
18 --- src/ex_docmd.c Sun Sep 7 14:26:29 2003
24 ! #if (defined(FEAT_WINDOWS) && defined(HAVE_DROP_FILE)) || defined(PROTO)
27 * Handle a file drop. The code is here because a drop is *nearly* like an
32 ! #if (defined(FEAT_WINDOWS) && defined(HAVE_DROP_FILE)) \
33 ! || (defined(FEAT_GUI_GTK) && defined(FEAT_DND)) \
37 * Handle a file drop. The code is here because a drop is *nearly* like an
43 if (win_split(0, 0) == FAIL)
45 ! # ifdef FEAT_SCROLLBIND
46 curwin->w_p_scb = FALSE;
49 /* When splitting the window, create a new alist. Otherwise the
50 * existing one is overwritten. */
51 alist_unlink(curwin->w_alist);
60 + # ifdef FEAT_WINDOWS
61 if (win_split(0, 0) == FAIL)
63 ! # ifdef FEAT_SCROLLBIND
64 curwin->w_p_scb = FALSE;
67 /* When splitting the window, create a new alist. Otherwise the
68 * existing one is overwritten. */
69 alist_unlink(curwin->w_alist);
72 + return; /* can't split, always fail */
77 *** ../vim-6.2.093/src/misc2.c Sun May 25 20:28:57 2003
78 --- src/misc2.c Sun Sep 7 23:25:58 2003
83 #if defined(FEAT_SESSION) || defined(MSWIN) \
84 ! || (defined(FEAT_GUI_GTK) && defined(FEAT_WINDOWS)) \
85 || defined(FEAT_SUN_WORKSHOP) || defined(FEAT_NETBEANS_INTG) \
91 #if defined(FEAT_SESSION) || defined(MSWIN) \
92 ! || (defined(FEAT_GUI_GTK) \
93 ! && (defined(FEAT_WINDOWS) || defined(FEAT_DND))) \
94 || defined(FEAT_SUN_WORKSHOP) || defined(FEAT_NETBEANS_INTG) \
97 *** ../vim-6.2.093/src/version.c Fri Sep 12 20:13:48 2003
98 --- src/version.c Fri Sep 12 20:16:07 2003
102 { /* Add new patch number below this line */
108 "I love deadlines. I especially like the whooshing sound they
109 make as they go flying by."
112 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
113 /// Creator of Vim - Vi IMproved -- http://www.Vim.org \\\
114 \\\ Project leader for A-A-P -- http://www.A-A-P.org ///
115 \\\ Help AIDS victims, buy here: http://ICCF-Holland.org/click1.html ///