fixed buglet in siox code and renamed functions

* it.po: corrected translation that broke the gimp.desktop file.
This commit is contained in:
Sven Neumann 2005-11-04 20:38:35 +00:00
parent 2fb4908c40
commit 79ac6c0279
3 changed files with 10 additions and 8 deletions

View file

@ -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 */

View file

@ -1,3 +1,7 @@
2005-11-04 Sven Neumann <sven@gimp.org>
* it.po: corrected translation that broke the gimp.desktop file.
2005-11-03 Adam Weinberger <adamw@gnome.org>
* en_CA.po: Updated Canadian English translation.

View file

@ -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 <ciampix@libero.it>\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 ""