Skip to content

Commit

Permalink
Fix another deprecated pdb function, related to issue #7
Browse files Browse the repository at this point in the history
  • Loading branch information
bootchk committed Dec 22, 2017
1 parent 83c8612 commit a1773f9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion PluginScripts/plugin-map-style.py
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ def make_grayscale_map(image, drawable):
pdb.gimp_selection_all(image) # copy requires selection
pdb.gimp_edit_copy(drawable)
if original_selection:
pdb.gimp_selection_load(original_selection) # restore selection in image
pdb.gimp_image_select_item(image, CHANNEL_OP_REPLACE, original_selection) # restore selection in image
pdb.gimp_image_remove_channel(image, original_selection) # cleanup the copied selection mask
# !!! Note remove_channel not drawable_delete

Expand Down
11 changes: 5 additions & 6 deletions po/Makefile.in.in
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,7 @@ exec_prefix = @exec_prefix@
datadir = @datadir@
datarootdir = @datarootdir@
libdir = @libdir@
DATADIRNAME = @DATADIRNAME@
itlocaledir = $(prefix)/$(DATADIRNAME)/locale
localedir = @localedir@
subdir = po
install_sh = @install_sh@
# Automake >= 1.8 provides @mkdir_p@.
Expand Down Expand Up @@ -80,7 +79,7 @@ INTLTOOL__v_MSGFMT_0 = @echo " MSGFMT" $@;

.po.pox:
$(MAKE) $(GETTEXT_PACKAGE).pot
$(MSGMERGE) $< $(GETTEXT_PACKAGE).pot -o $*.pox
$(MSGMERGE) $* $(GETTEXT_PACKAGE).pot -o $*.pox

.po.mo:
$(INTLTOOL_V_MSGFMT)$(MSGFMT) -o $@ $<
Expand Down Expand Up @@ -108,7 +107,7 @@ install-data-no: all
install-data-yes: all
linguas="$(USE_LINGUAS)"; \
for lang in $$linguas; do \
dir=$(DESTDIR)$(itlocaledir)/$$lang/LC_MESSAGES; \
dir=$(DESTDIR)$(localedir)/$$lang/LC_MESSAGES; \
$(mkdir_p) $$dir; \
if test -r $$lang.gmo; then \
$(INSTALL_DATA) $$lang.gmo $$dir/$(GETTEXT_PACKAGE).mo; \
Expand Down Expand Up @@ -142,8 +141,8 @@ install-exec installcheck:
uninstall:
linguas="$(USE_LINGUAS)"; \
for lang in $$linguas; do \
rm -f $(DESTDIR)$(itlocaledir)/$$lang/LC_MESSAGES/$(GETTEXT_PACKAGE).mo; \
rm -f $(DESTDIR)$(itlocaledir)/$$lang/LC_MESSAGES/$(GETTEXT_PACKAGE).mo.m; \
rm -f $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(GETTEXT_PACKAGE).mo; \
rm -f $(DESTDIR)$(localedir)/$$lang/LC_MESSAGES/$(GETTEXT_PACKAGE).mo.m; \
done

check: all $(GETTEXT_PACKAGE).pot
Expand Down

0 comments on commit a1773f9

Please sign in to comment.