comparison src/gui_gtk.c @ 41:f529edb9bab3 v7.0025

updated for version 7.0025
author vimboss
date Mon, 27 Dec 2004 21:59:20 +0000
parents f1d2a58883b9
children a97c6902ecd9
comparison
equal deleted inserted replaced
40:f1d2a58883b9 41:f529edb9bab3
1346 if (p == NULL) 1346 if (p == NULL)
1347 p = gui.browse_fname; 1347 p = gui.browse_fname;
1348 return vim_strsave(p); 1348 return vim_strsave(p);
1349 } 1349 }
1350 1350
1351 #if defined(HAVE_GTK2) || defined(PROTO)
1352
1351 /* 1353 /*
1352 * Put up a directory selector 1354 * Put up a directory selector
1353 * Returns the selected name in allocated memory, or NULL for Cancel. 1355 * Returns the selected name in allocated memory, or NULL for Cancel.
1354 * title title for the window 1356 * title title for the window
1355 * dflt default name 1357 * dflt default name
1414 # else 1416 # else
1415 /* For GTK 2.2 and earlier: fall back to ordinary file selector. */ 1417 /* For GTK 2.2 and earlier: fall back to ordinary file selector. */
1416 return gui_mch_browse(0, title, NULL, NULL, initdir, NULL); 1418 return gui_mch_browse(0, title, NULL, NULL, initdir, NULL);
1417 # endif 1419 # endif
1418 } 1420 }
1421 #endif
1419 1422
1420 #endif /* FEAT_BROWSE */ 1423 #endif /* FEAT_BROWSE */
1421 1424
1422 #if (defined(FEAT_GUI_DIALOG) && !defined(HAVE_GTK2)) || defined(PROTO) 1425 #if (defined(FEAT_GUI_DIALOG) && !defined(HAVE_GTK2)) || defined(PROTO)
1423 1426