app: s/sprintf/g_snprintf/ in xcf_save_image()
[gimp.git] / libgimpconfig / gimpconfig-utils.h
blob6975b641705c96eddf81041cf542396230488211
1 /* LIBGIMP - The GIMP Library
2 * Copyright (C) 1995-1997 Spencer Kimball and Peter Mattis
4 * Utility functions for GimpConfig.
5 * Copyright (C) 2001-2003 Sven Neumann <sven@gimp.org>
7 * This library is free software: you can redistribute it and/or
8 * modify it under the terms of the GNU Lesser General Public
9 * License as published by the Free Software Foundation; either
10 * version 3 of the License, or (at your option) any later version.
12 * This library is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * Library General Public License for more details.
17 * You should have received a copy of the GNU Lesser General Public
18 * License along with this library. If not, see
19 * <https://www.gnu.org/licenses/>.
22 #if !defined (__GIMP_CONFIG_H_INSIDE__) && !defined (GIMP_CONFIG_COMPILATION)
23 #error "Only <libgimpconfig/gimpconfig.h> can be included directly."
24 #endif
26 #ifndef __GIMP_CONFIG_UTILS_H__
27 #define __GIMP_CONFIG_UTILS_H__
29 G_BEGIN_DECLS
31 /* For information look into the C source or the html documentation */
34 GList * gimp_config_diff (GObject *a,
35 GObject *b,
36 GParamFlags flags);
38 gboolean gimp_config_sync (GObject *src,
39 GObject *dest,
40 GParamFlags flags);
42 void gimp_config_reset_properties (GObject *object);
43 void gimp_config_reset_property (GObject *object,
44 const gchar *property_name);
46 void gimp_config_string_append_escaped (GString *string,
47 const gchar *val);
50 G_END_DECLS
52 #endif /* __GIMP_CONFIG_UTILS_H__ */