gimpconfig-error.c 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. /* LIBGIMP - The GIMP Library
  2. * Copyright (C) 1995-1997 Spencer Kimball and Peter Mattis
  3. *
  4. * Config file serialization and deserialization interface
  5. * Copyright (C) 2001-2002 Sven Neumann <sven@gimp.org>
  6. *
  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.
  11. *
  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.
  16. *
  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/>.
  20. */
  21. #include "config.h"
  22. #include <glib.h>
  23. #include "gimpconfig-error.h"
  24. /**
  25. * SECTION: gimpconfig-error
  26. * @title: GimpConfig-error
  27. * @short_description: Error utils for libgimpconfig.
  28. *
  29. * Error utils for libgimpconfig.
  30. **/
  31. /**
  32. * gimp_config_error_quark:
  33. *
  34. * This function is never called directly. Use GIMP_CONFIG_ERROR() instead.
  35. *
  36. * Returns: the #GQuark that defines the GimpConfig error domain.
  37. *
  38. * Since: 2.4
  39. **/
  40. GQuark
  41. gimp_config_error_quark (void)
  42. {
  43. return g_quark_from_static_string ("gimp-config-error-quark");
  44. }