diff --git a/app/base/siox.c b/app/base/siox.c index 25031d411f..cf3be2db7a 100644 --- a/app/base/siox.c +++ b/app/base/siox.c @@ -700,7 +700,7 @@ siox_progress_update (SioxProgressFunc progress_callback, /* Clear hashtable entries that get invalid due to refinement */ static gboolean -siox_cache_remove_fg (gpointer key, +siox_cache_remove_bg (gpointer key, gpointer value, gpointer user_data) { @@ -710,13 +710,13 @@ siox_cache_remove_fg (gpointer key, } static gboolean -siox_cache_remove_bg (gpointer key, +siox_cache_remove_fg (gpointer key, gpointer value, gpointer user_data) { classresult *cr = value; - return (cr->fgdist < cr->bgdist); + return (cr->bgdist >= cr->fgdist); } /** @@ -857,7 +857,7 @@ siox_foreground_extract (SioxState *state, { g_hash_table_foreach_remove (state->cache, refinement & SIOX_REFINEMENT_ADD_FOREGROUND ? - siox_cache_remove_fg : siox_cache_remove_bg, + siox_cache_remove_bg : siox_cache_remove_fg, NULL); /* count given foreground and background pixels */ diff --git a/po/ChangeLog b/po/ChangeLog index d487e05eee..01318d5305 100644 --- a/po/ChangeLog +++ b/po/ChangeLog @@ -1,3 +1,7 @@ +2005-11-04 Sven Neumann + + * it.po: corrected translation that broke the gimp.desktop file. + 2005-11-03 Adam Weinberger * en_CA.po: Updated Canadian English translation. diff --git a/po/it.po b/po/it.po index db2a82afe2..a7b9873282 100644 --- a/po/it.po +++ b/po/it.po @@ -27,7 +27,7 @@ msgstr "" "Project-Id-Version: gimp 2.0\n" "Report-Msgid-Bugs-To: \n" "POT-Creation-Date: 2005-10-19 22:58+0200\n" -"PO-Revision-Date: 2005-10-20 19:45+0200\n" +"PO-Revision-Date: 2005-11-04 21:30+0100\n" "Last-Translator: Marco Ciampa \n" "Language-Team: gimp@erlug.linux.it\n" "MIME-Version: 1.0\n" @@ -156,9 +156,7 @@ msgstr "Genera un file gimprc con valori predefiniti" #: ../app/main.c:248 ../app/dialogs/about-dialog.c:61 #: ../desktop/gimp.desktop.in.in.h:2 msgid "GNU Image Manipulation Program" -msgstr "" -"GNU Image Manipulation Program\n" -"(Programma di fotoritocco del progetto GNU)" +msgstr "GNU Image Manipulation Program" #: ../app/main.c:292 msgid ""