mirror of
https://gitlab.gnome.org/GNOME/gimp.git
synced 2025-07-03 09:23:24 +00:00

This will be used by the update check to verify you are running a new version since last time. In the future, it might even allow to handle some types of config migrations if ever we update some things in-between micro releases. Until now, we could only detect minor updates through the config folder name (and even this was limited as the config folder can be specified, in which case we would not even know what version the files were for). Maybe we could start also warning in cases of downgrading too, which can break some configuration files (though there is not much we can do about it other than warn as there is no time machine!). Last point: if the new config value "last-run-version" doesn't exist, it simply means the config folder was run for a GIMP before this point in time/commit. So we just show the welcome dialog.
32 lines
1.1 KiB
C
32 lines
1.1 KiB
C
/* GIMP - The GNU Image Manipulation Program
|
|
* Copyright (C) 1995 Spencer Kimball and Peter Mattis
|
|
*
|
|
* gimp-update.h
|
|
* Copyright (C) 2019 Jehan
|
|
*
|
|
* This program is free software: you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License as published by
|
|
* the Free Software Foundation; either version 3 of the License, or
|
|
* (at your option) any later version.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
*/
|
|
|
|
#ifndef __APP_GIMP_UPDATE_H__
|
|
#define __APP_GIMP_UPDATE_H__
|
|
|
|
|
|
gboolean gimp_update_auto_check (GimpCoreConfig *config,
|
|
Gimp *gimp);
|
|
|
|
void gimp_update_check (GimpCoreConfig *config);
|
|
void gimp_update_refresh (GimpCoreConfig *config);
|
|
|
|
|
|
#endif /* __APP_GIMP_UPDATE_H__ */
|