Fixed earliest/latest function return type

This commit is contained in:
Markus Koch 2017-02-05 17:43:04 +01:00
parent b3e84cf14a
commit 140fba445d
2 changed files with 4 additions and 4 deletions

View File

@ -367,7 +367,7 @@ void mdiary_scan_to_store(gchar *base_dir, GtkListStore *entryListStore)
* @brief mdiary_get_time_earliest getter function for time_earliest. Call mdiary_scan_to_store before using.
* @return time_earliest
*/
guint mdiary_get_time_earliest(void)
gint64 mdiary_get_time_earliest(void)
{
return time_earliest;
}
@ -376,7 +376,7 @@ guint mdiary_get_time_earliest(void)
* @brief mdiary_get_time_earliest getter function for time_latest. Call mdiary_scan_to_store before using.
* @return time_latest
*/
guint mdiary_get_time_latest(void)
gint64 mdiary_get_time_latest(void)
{
return time_latest;
}

View File

@ -26,7 +26,7 @@ void mdiary_add_entry_to_store(GtkListStore *entryListStore,
gchar *text);
GDateTime *mdiary_get_date_from_string_ext(gchar *string, gchar *prefix, gchar *suffix);
GDateTime *mdiary_get_date_from_string(gchar *string);
guint mdiary_get_time_earliest(void);
guint mdiary_get_time_latest(void);
gint64 mdiary_get_time_earliest(void);
gint64 mdiary_get_time_latest(void);
#endif /* MDIARY_H */