fixed a gtk-doc comment.
2000-02-21 Michael Natterer <mitch@gimp.org> * libgimp/gimppixmap.c: fixed a gtk-doc comment. * libgimp/gimpenv.[ch]: new functions: - gimp_path_parse(): Creates a GList of strings from a searchpath string and performs sanity checks. - gimp_path_to_str(): Creates a searchpath string from the list returned by gimp_path_parse(). - gimp_path_free(): Frees the list returned by gimp_path_parse(). - gimp_path_get_user_writable_dir(): Returns the first dir in a path where the user has write access. With this function the "Save" dialogs of some plugins always show the plugin's subdirectory of the user's gimp_dir instead of the read-only global one. * app/datafiles.[ch] * app/gimpbrushlist.c: use the new functions and s/datafile_loader_t/GimpDataFileLoaderFunc/. * plug-ins/FractalExplorer/Dialogs.c * plug-ins/FractalExplorer/FractalExplorer.c * plug-ins/gfig/gfig.c * plug-ins/gflare/gflare.c * plug-ins/gimpressionist/gimpressionist.c: use the new functions.
This commit is contained in:
committed by
Michael Natterer
parent
d4b05436ec
commit
ed071953b2
@ -19,11 +19,11 @@
|
||||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
|
||||
|
||||
#ifndef _DATAFILES_H_
|
||||
#define _DATAFILES_H_
|
||||
#ifndef __DATAFILES_H__
|
||||
#define __DATAFILES_H__
|
||||
|
||||
#include <time.h>
|
||||
#include <glib.h>
|
||||
|
||||
#define INCLUDE_TEMP_DIR 0x1
|
||||
#define MODE_EXECUTABLE 0x2
|
||||
@ -31,23 +31,22 @@
|
||||
|
||||
/***** Types *****/
|
||||
|
||||
typedef void (*datafile_loader_t) (char *filename);
|
||||
typedef void (* GimpDataFileLoaderFunc) (gchar *filename);
|
||||
|
||||
|
||||
/***** Functions *****/
|
||||
|
||||
void datafiles_read_directories(char *path_str,
|
||||
datafile_loader_t loader_func,
|
||||
int flags);
|
||||
void datafiles_read_directories (gchar *path_str,
|
||||
GimpDataFileLoaderFunc loader_func,
|
||||
gint flags);
|
||||
|
||||
/* Return the current datafiles access, modification
|
||||
* or change time. The current datafile is the one for
|
||||
* which the "datafile_loader_t" function has been called
|
||||
* which the "DataFileLoaderFunc" function has been called
|
||||
* on.
|
||||
*/
|
||||
time_t datafile_atime (void);
|
||||
time_t datafile_mtime (void);
|
||||
time_t datafile_ctime (void);
|
||||
|
||||
|
||||
#endif
|
||||
#endif /* __DATAFILES_H__ */
|
||||
|
||||
Reference in New Issue
Block a user