Commit 13614f61 authored by Michael Natterer's avatar Michael Natterer 😴

app: change GimpData:mtime from time_t to gint64

parent 767a5a32
......@@ -74,7 +74,7 @@ struct _GimpDataPrivate
guint dirty : 1;
guint internal : 1;
gint freeze_count;
time_t mtime;
gint64 mtime;
/* Identifies the GimpData object across sessions. Used when there
* is not a filename associated with the object.
......@@ -981,7 +981,7 @@ gimp_data_is_deletable (GimpData *data)
void
gimp_data_set_mtime (GimpData *data,
time_t mtime)
gint64 mtime)
{
GimpDataPrivate *private;
......@@ -992,7 +992,7 @@ gimp_data_set_mtime (GimpData *data,
private->mtime = mtime;
}
time_t
gint64
gimp_data_get_mtime (GimpData *data)
{
GimpDataPrivate *private;
......
......@@ -21,7 +21,6 @@
#ifndef __GIMP_DATA_H__
#define __GIMP_DATA_H__
#include <time.h> /* time_t */
#include "gimpviewable.h"
......@@ -100,8 +99,8 @@ gboolean gimp_data_is_writable (GimpData *data);
gboolean gimp_data_is_deletable (GimpData *data);
void gimp_data_set_mtime (GimpData *data,
time_t mtime);
time_t gimp_data_get_mtime (GimpData *data);
gint64 mtime);
gint64 gimp_data_get_mtime (GimpData *data);
GimpData * gimp_data_duplicate (GimpData *data);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment