diff options
author | Tristan Van Berkom <tristan.van.berkom@gmail.com> | 2013-04-06 23:02:28 +0900 |
---|---|---|
committer | Tristan Van Berkom <tristan.van.berkom@gmail.com> | 2013-04-06 23:13:20 +0900 |
commit | e756d60459ae2cd786cb452096d9946c7f05a63b (patch) | |
tree | cd508e0da13dd144969ba4ad2ba4ef894ffde609 /gladeui/glade-project.h | |
parent | 79bcad91051d158b9f86d61a7af70321bc9ab3ff (diff) | |
download | glade-e756d60459ae2cd786cb452096d9946c7f05a63b.tar.gz |
GladeProject: Added glade_project_backup() and glade_project_autosave()
o glade_project_backup()
Backs up the last saved version of the glade file to project.glade~
o glade_project_autosave()
Saves the glade file to /path/to/#project.glade# without modifying
the project's modified state.
Conflicts:
gladeui/glade-project.c
Diffstat (limited to 'gladeui/glade-project.h')
-rw-r--r-- | gladeui/glade-project.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/gladeui/glade-project.h b/gladeui/glade-project.h index dfd04685..41e2f6d8 100644 --- a/gladeui/glade-project.h +++ b/gladeui/glade-project.h @@ -118,7 +118,12 @@ GladeProject *glade_project_new (void); GladeProject *glade_project_load (const gchar *path); gboolean glade_project_load_from_file (GladeProject *project, const gchar *path); -gboolean glade_project_save (GladeProject *project, +gboolean glade_project_save (GladeProject *project, + const gchar *path, + GError **error); +gboolean glade_project_autosave (GladeProject *project, + GError **error); +gboolean glade_project_backup (GladeProject *project, const gchar *path, GError **error); void glade_project_push_progress (GladeProject *project); |