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 = \ libgimpui_built_sources = \
gimpuimarshal.c \ gimpuimarshal.c \
gimpuimarshal.h \ gimpuimarshal.h \
gimppropchooser.c \ gimppropchooser-private.c \
gimppropchooser.h gimppropchooser-private.h
libgimpui_extra_sources = gimpuimarshal.list libgimpui_extra_sources = gimpuimarshal.list

View File

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

View File

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

View File

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