mirror of https://github.com/GNOME/gimp.git
app, libgimpbase: also move gimp_cpu_accel_set_use() in a private header.
Similar to previous commit. If we don't want people to use this function yet need to export it, at least don't expose the declaration in shipped headers and even less in the API docs.
This commit is contained in:
parent
f6edf596bf
commit
ac1bf4a64e
|
@ -44,6 +44,7 @@
|
|||
#undef GIMP_DISABLE_DEPRECATED /* for compat enums */
|
||||
#include "libgimpbase/gimpbase.h"
|
||||
#define GIMP_DISABLE_DEPRECATED
|
||||
#include "libgimpbase/gimpbase-private.h"
|
||||
#include "libgimpconfig/gimpconfig.h"
|
||||
|
||||
#include "core/core-types.h"
|
||||
|
|
|
@ -23,6 +23,7 @@
|
|||
#define __GIMP_BASE_PRIVATE_H__
|
||||
|
||||
|
||||
#include <libgimpbase/gimpcpuaccel-private.h>
|
||||
#include <libgimpbase/gimpenv-private.h>
|
||||
|
||||
|
||||
|
|
|
@ -0,0 +1,32 @@
|
|||
/* LIBGIMP - The GIMP Library
|
||||
* Copyright (C) 1995-1997 Peter Mattis and Spencer Kimball
|
||||
*
|
||||
* gimpcpuaccel-private.h
|
||||
*
|
||||
* This library is free software: you can redistribute it and/or
|
||||
* modify it under the terms of the GNU Lesser General Public
|
||||
* License as published by the Free Software Foundation; either
|
||||
* version 3 of the License, or (at your option) any later version.
|
||||
*
|
||||
* This library 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
|
||||
* Library General Public License for more details.
|
||||
*
|
||||
* You should have received a copy of the GNU Lesser General Public
|
||||
* License along with this library. If not, see
|
||||
* <https://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef __GIMP_CPU_ACCEL_PRIVATE_H__
|
||||
#define __GIMP_CPU_ACCEL_PRIVATE_H__
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
|
||||
void gimp_cpu_accel_set_use (gboolean use);
|
||||
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __GIMP_CPU_ACCEL_PRIVATE_H__ */
|
|
@ -36,6 +36,7 @@
|
|||
#include <glib.h>
|
||||
|
||||
#include "gimpcpuaccel.h"
|
||||
#include "gimpcpuaccel-private.h"
|
||||
|
||||
|
||||
/**
|
||||
|
|
|
@ -67,10 +67,6 @@ typedef enum
|
|||
GimpCpuAccelFlags gimp_cpu_accel_get_support (void);
|
||||
|
||||
|
||||
/* for internal use only */
|
||||
void gimp_cpu_accel_set_use (gboolean use);
|
||||
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
#endif /* __GIMP_CPU_ACCEL_H__ */
|
||||
|
|
Loading…
Reference in New Issue