mirror of https://github.com/GNOME/gimp.git
app/file: Rename gimpfile.h to gimp-file.h and fix include guards
The source filename convention would indicate that gimpfile.h holds code for the GimpFile object. Rename it to gimp-file.h to make clear that it doesn't.
This commit is contained in:
parent
e622dc3cad
commit
b0af6524b4
|
@ -40,7 +40,7 @@
|
|||
#include "file/file-procedure.h"
|
||||
#include "file/file-save.h"
|
||||
#include "file/file-utils.h"
|
||||
#include "file/gimpfile.h"
|
||||
#include "file/gimp-file.h"
|
||||
|
||||
#include "widgets/gimpactiongroup.h"
|
||||
#include "widgets/gimpdialogfactory.h"
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
|
||||
#include "file/file-open.h"
|
||||
#include "file/file-utils.h"
|
||||
#include "file/gimpfile.h"
|
||||
#include "file/gimp-file.h"
|
||||
|
||||
#include "widgets/gimpfiledialog.h"
|
||||
#include "widgets/gimphelp-ids.h"
|
||||
|
|
|
@ -37,7 +37,7 @@
|
|||
#include "file/file-procedure.h"
|
||||
#include "file/file-save.h"
|
||||
#include "file/file-utils.h"
|
||||
#include "file/gimpfile.h"
|
||||
#include "file/gimp-file.h"
|
||||
|
||||
#include "widgets/gimpactiongroup.h"
|
||||
#include "widgets/gimpfiledialog.h"
|
||||
|
|
|
@ -68,7 +68,7 @@
|
|||
#include "file-open.h"
|
||||
#include "file-procedure.h"
|
||||
#include "file-utils.h"
|
||||
#include "gimpfile.h"
|
||||
#include "gimp-file.h"
|
||||
|
||||
#include "gimp-intl.h"
|
||||
|
||||
|
|
|
@ -59,7 +59,7 @@
|
|||
|
||||
#include "file-save.h"
|
||||
#include "file-utils.h"
|
||||
#include "gimpfile.h"
|
||||
#include "gimp-file.h"
|
||||
|
||||
#include "gimp-intl.h"
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
/* GIMP - The GNU Image Manipulation Program
|
||||
* Copyright (C) 1995 Spencer Kimball and Peter Mattis
|
||||
*
|
||||
* file.h
|
||||
* gimp-file.h
|
||||
* Copyright (C) 2009 Martin Nordholts <martinn@src.gnome.org>
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
|
@ -18,8 +18,8 @@
|
|||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef __FILE_H__
|
||||
#define __FILE_H__
|
||||
#ifndef __GIMP_FILE_H__
|
||||
#define __GIMP_FILE_H__
|
||||
|
||||
|
||||
#define GIMP_FILE_SAVE_LAST_URI_KEY "gimp-file-save-last-uri"
|
||||
|
@ -27,4 +27,4 @@
|
|||
#define GIMP_FILE_SAVE_A_COPY_URI_KEY "gimp-file-save-a-copy-uri"
|
||||
|
||||
|
||||
#endif /* __FILE_H__ */
|
||||
#endif /* __GIMP_FILE_H__ */
|
|
@ -37,7 +37,7 @@
|
|||
#include "config/gimpguiconfig.h"
|
||||
|
||||
#include "file/file-utils.h"
|
||||
#include "file/gimpfile.h"
|
||||
#include "file/gimp-file.h"
|
||||
|
||||
#include "pdb/gimppdb.h"
|
||||
|
||||
|
|
Loading…
Reference in New Issue