plug-ins: fix typo and install rules for test-dialog.

This commit is contained in:
Jehan 2024-09-05 22:44:10 +02:00
parent 5ad829c1dc
commit 7f9b8e8dbf
2 changed files with 2 additions and 2 deletions

View File

@ -11,7 +11,7 @@ plugins = [
{ 'name': 'spyro-plus' },
]
if (not stable or not release) and get_option('buildtype')=='debug'
if not stable or not release
plugins += [
{ 'name': 'test-dialog' },
]

View File

@ -152,7 +152,7 @@ class TestDialogPlugin (Gimp.PlugIn):
procedure.add_menu_path ("<Image>/Filters/Development/Demos")
procedure.add_brush_argument ("brush", "_Brush", "Brush", True,
Gimp.Font.get_by_name ("2. Hardness 025"),
Gimp.Brush.get_by_name ("2. Hardness 025"),
GObject.ParamFlags.READWRITE)
procedure.add_font_argument ("font", "_Font", "Font", True,
Gimp.Font.get_by_name ("Serif"),