app/apptypes.h app/brush_edit.c app/brush_select.c app/brushes_cmds.c
2001-01-14 Michael Natterer <mitch@gimp.org> * app/apptypes.h * app/brush_edit.c * app/brush_select.c * app/brushes_cmds.c * app/channel.h * app/colormap_dialog.c * app/datafiles.[ch] * app/devices.c * app/docindex.c * app/fileops.c * app/gdisplay.c * app/gimage.c * app/gimpbrush.[ch] * app/gimpbrushgenerated.[ch] * app/gimpbrushlist.[ch] * app/gimpbrushpipe.[ch] * app/gimpcontext.[ch] * app/gimpcontextpreview.c * app/gimpdnd.c * app/gimpdrawable.h * app/gimpimage.[ch] * app/gimplist.h * app/gimpobject.h * app/gimpset.[ch] * app/gradient.c * app/info_window.c * app/layer.[ch] * app/module_db.c * app/palette.[ch] * app/patterns.[ch] * app/plug_in.[ch] * app/undo_history.c * app/xcf.c * tools/pdbgen/pdb/brushes.pdb - Removed the "name" argument from all objects and use GimpObject's name. - Use the same code in all "uniquefy name" functions (this functionality will be a method of the "GimpContainer" class). - Renamed the parent instances of all objects to "parent instance". - Added missing instance and class cast macros. - Changed some "gchar *" to "const gchar *" parameters.
This commit is contained in:
committed by
Michael Natterer
parent
fc121e6ce9
commit
cac3f7cb25
@ -53,11 +53,10 @@
|
||||
#include "libgimp/gimpenv.h"
|
||||
|
||||
|
||||
/***** Functions *****/
|
||||
|
||||
static gboolean filestat_valid = FALSE;
|
||||
static struct stat filestat;
|
||||
|
||||
|
||||
#ifdef G_OS_WIN32
|
||||
/*
|
||||
* On Windows there is no concept like the Unix executable flag.
|
||||
@ -103,7 +102,7 @@ is_script (const gchar *filename)
|
||||
#endif
|
||||
|
||||
void
|
||||
datafiles_read_directories (gchar *path_str,
|
||||
datafiles_read_directories (const gchar *path_str,
|
||||
GimpDataFileLoaderFunc loader_func,
|
||||
GimpDataFileFlags flags)
|
||||
{
|
||||
@ -179,6 +178,7 @@ datafile_atime (void)
|
||||
{
|
||||
if (filestat_valid)
|
||||
return filestat.st_atime;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
@ -187,6 +187,7 @@ datafile_mtime (void)
|
||||
{
|
||||
if (filestat_valid)
|
||||
return filestat.st_mtime;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
@ -195,5 +196,6 @@ datafile_ctime (void)
|
||||
{
|
||||
if (filestat_valid)
|
||||
return filestat.st_ctime;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user