libgimp: rename gimppropchooser.* to gimppropchooser-private.* and…

… don't include it from public gimpui.h.

As reviewed during !786, if this file is private, the name should show it
clearly. And of course, we must not include it from another public header, since
it won't be installed.

This also fixes building plug-ins with gimptool as reported by tmanni:
e00f2d7f50 (note_1650791)
This commit is contained in:
Jehan 2023-01-26 15:46:12 +01:00
parent 27dac96f83
commit 4f45ddc17e
6 changed files with 6 additions and 5 deletions

View File

@ -146,9 +146,9 @@ libgimpui_sources = \
libgimpui_built_sources = \
gimpuimarshal.c \
gimpuimarshal.h \
gimppropchooser.c \
gimppropchooser.h
gimpuimarshal.h \
gimppropchooser-private.c \
gimppropchooser-private.h
libgimpui_extra_sources = gimpuimarshal.list

View File

@ -26,6 +26,8 @@
#include "libgimpwidgets/gimpwidgets.h"
#include "libgimp/gimppropchooser-private.h"
#include "gimp.h"
#include "gimpui.h"

View File

@ -44,7 +44,6 @@
#include <libgimp/gimpproceduredialog.h>
#include <libgimp/gimpprocview.h>
#include <libgimp/gimpprogressbar.h>
#include <libgimp/gimppropchooser.h>
#include <libgimp/gimppropchooserfactory.h>
#include <libgimp/gimpsaveproceduredialog.h>
#include <libgimp/gimpzoompreview.h>

View File

@ -282,7 +282,7 @@ libgimpui_sources_introspectable = [
libgimpui_sources = [
libgimpui_sources_introspectable,
gimpuimarshal,
'gimppropchooser.c',
'gimppropchooser-private.c',
]
libgimpui_headers_introspectable = [