app, libgimpbase: gimp_signal_private()'s header is now made private.

As other functions, it is still exported, but let make its header not
exposed in public API.
This commit is contained in:
Jehan 2024-10-17 17:12:30 +02:00
parent ac1bf4a64e
commit 47470880b2
5 changed files with 7 additions and 7 deletions

View File

@ -22,6 +22,7 @@
#include <gio/gio.h>
#include "libgimpbase/gimpbase.h"
#include "libgimpbase/gimpbase-private.h"
#include "core/core-types.h"

View File

@ -26,6 +26,10 @@
#include <libgimpbase/gimpcpuaccel-private.h>
#include <libgimpbase/gimpenv-private.h>
#ifndef G_OS_WIN32
#include <libgimpbase/gimpsignal.h>
#endif
typedef struct _GimpUnitVtable GimpUnitVtable;

View File

@ -41,10 +41,6 @@
#include <libgimpbase/gimpversion.h>
#include <libgimpbase/gimpvaluearray.h>
#ifndef G_OS_WIN32
#include <libgimpbase/gimpsignal.h>
#endif
#undef __GIMP_BASE_H_INSIDE__
#endif /* __GIMP_BASE_H__ */

View File

@ -41,7 +41,7 @@
/**
* gimp_signal_private: (skip)
* @signum: Selects signal to be handled see man 5 signal (or man 7 signal)
* @signum: Selects signal to be handled (see `man 7 signal`)
* @handler: Handler that maps to signum. Invoked by O/S.
* Handler gets signal that caused invocation. Corresponds
* to the @sa_handler field of the @sigaction struct.

View File

@ -61,7 +61,6 @@ libgimpbase_sources_introspectable = files(
'gimpparasite.c',
'gimpparasiteio.c',
'gimprectangle.c',
'gimpsignal.c',
'gimpunit.c',
'gimputils.c',
'gimpvaluearray.c',
@ -72,6 +71,7 @@ libgimpbase_sources = [
'gimpbase-private.c',
'gimpprotocol.c',
'gimpreloc.c',
'gimpsignal.c',
'gimpwire.c',
'gimpbaseenums.c',
@ -96,7 +96,6 @@ libgimpbase_headers_introspectable = files(
'gimpparasite.h',
'gimpparasiteio.h',
'gimprectangle.h',
'gimpsignal.h',
'gimpunit.h',
'gimputils.h',
'gimpvaluearray.h',