mirror of
https://gitlab.gnome.org/GNOME/gimp
synced 2024-10-20 07:57:21 +00:00
added declarations for the gimp_config_build_path functions.
2005-01-26 Sven Neumann <sven@gimp.org> * libgimpconfig/gimpconfig-path.h: added declarations for the gimp_config_build_path functions. * app/config/Makefile.am * app/config/gimprc-utils.[ch]: removed these two files again; they used to duplicate functionality from libgimpconfig. * app/config/gimpcoreconfig.c * app/config/gimpguiconfig.c * app/config/gimppluginconfig.c: changed accordingly.
This commit is contained in:
parent
4aa2bf9382
commit
88a302f4d1
13
ChangeLog
13
ChangeLog
|
@ -1,3 +1,16 @@
|
|||
2005-01-26 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* libgimpconfig/gimpconfig-path.h: added declarations for the
|
||||
gimp_config_build_path functions.
|
||||
|
||||
* app/config/Makefile.am
|
||||
* app/config/gimprc-utils.[ch]: removed these two files again;
|
||||
they used to duplicate functionality from libgimpconfig.
|
||||
|
||||
* app/config/gimpcoreconfig.c
|
||||
* app/config/gimpguiconfig.c
|
||||
* app/config/gimppluginconfig.c: changed accordingly.
|
||||
|
||||
2005-01-26 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* libgimpbase/Makefile.am
|
||||
|
|
|
@ -33,8 +33,6 @@ libappconfig_a_SOURCES = \
|
|||
gimprc-serialize.h \
|
||||
gimprc-unknown.c \
|
||||
gimprc-unknown.h \
|
||||
gimprc-utils.c \
|
||||
gimprc-utils.h \
|
||||
gimpxmlparser.c \
|
||||
gimpxmlparser.h
|
||||
|
||||
|
|
|
@ -33,7 +33,6 @@
|
|||
#include "core/gimptemplate.h"
|
||||
|
||||
#include "gimprc-blurbs.h"
|
||||
#include "gimprc-utils.h"
|
||||
#include "gimpcoreconfig.h"
|
||||
|
||||
#include "gimp-intl.h"
|
||||
|
|
|
@ -29,7 +29,6 @@
|
|||
#include "config-types.h"
|
||||
|
||||
#include "gimprc-blurbs.h"
|
||||
#include "gimprc-utils.h"
|
||||
#include "gimpguiconfig.h"
|
||||
|
||||
#include "gimp-intl.h"
|
||||
|
|
|
@ -29,7 +29,6 @@
|
|||
#include "config-types.h"
|
||||
|
||||
#include "gimprc-blurbs.h"
|
||||
#include "gimprc-utils.h"
|
||||
#include "gimppluginconfig.h"
|
||||
|
||||
|
||||
|
|
|
@ -1,48 +0,0 @@
|
|||
/* The GIMP -- an image manipulation program
|
||||
* Copyright (C) 1995 Spencer Kimball and Peter Mattis
|
||||
*
|
||||
* 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 2 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, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#include <glib-object.h>
|
||||
|
||||
#include "gimprc-utils.h"
|
||||
|
||||
|
||||
gchar *
|
||||
gimp_rc_build_data_path (const gchar *name)
|
||||
{
|
||||
return g_strconcat ("${gimp_dir}", G_DIR_SEPARATOR_S, name,
|
||||
G_SEARCHPATH_SEPARATOR_S,
|
||||
"${gimp_data_dir}", G_DIR_SEPARATOR_S, name,
|
||||
NULL);
|
||||
}
|
||||
|
||||
gchar *
|
||||
gimp_rc_build_writable_path (const gchar *name)
|
||||
{
|
||||
return g_strconcat ("${gimp_dir}", G_DIR_SEPARATOR_S, name, NULL);
|
||||
}
|
||||
|
||||
gchar *
|
||||
gimp_rc_build_plug_in_path (const gchar *name)
|
||||
{
|
||||
return g_strconcat ("${gimp_dir}", G_DIR_SEPARATOR_S, name,
|
||||
G_SEARCHPATH_SEPARATOR_S,
|
||||
"${gimp_plug_in_dir}", G_DIR_SEPARATOR_S, name,
|
||||
NULL);
|
||||
}
|
|
@ -1,31 +0,0 @@
|
|||
/* The GIMP -- an image manipulation program
|
||||
* Copyright (C) 1995 Spencer Kimball and Peter Mattis
|
||||
*
|
||||
* gimpconfig-path.h
|
||||
* Copyright (C) 2001-2002 Sven Neumann <sven@gimp.org>
|
||||
*
|
||||
* 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 2 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, write to the Free Software
|
||||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
|
||||
#ifndef __GIMP_RC_UTILS_H__
|
||||
#define __GIMP_RC_UTILS_H__
|
||||
|
||||
|
||||
gchar * gimp_config_build_data_path (const gchar *name);
|
||||
gchar * gimp_config_build_writable_path (const gchar *name);
|
||||
gchar * gimp_config_build_plug_in_path (const gchar *name);
|
||||
|
||||
|
||||
#endif /* __GIMP_RC_UTILS_H__ */
|
|
@ -71,5 +71,9 @@ gchar * gimp_config_path_expand (const gchar *path,
|
|||
gboolean recode,
|
||||
GError **error);
|
||||
|
||||
gchar * gimp_config_build_data_path (const gchar *name);
|
||||
gchar * gimp_config_build_writable_path (const gchar *name);
|
||||
gchar * gimp_config_build_plug_in_path (const gchar *name);
|
||||
|
||||
|
||||
#endif /* __GIMP_CONFIG_PATH_H__ */
|
||||
|
|
Loading…
Reference in a new issue