"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "app/widgets/gimplanguageentry.c" between
gimp-2.10.10.tar.bz2 and gimp-2.10.12.tar.bz2

About: GIMP - The GNU Image Manipulation Program.

gimplanguageentry.c  (gimp-2.10.10.tar.bz2):gimplanguageentry.c  (gimp-2.10.12.tar.bz2)
skipping to change at line 225 skipping to change at line 225
} }
gboolean gboolean
gimp_language_entry_set_code (GimpLanguageEntry *entry, gimp_language_entry_set_code (GimpLanguageEntry *entry,
const gchar *code) const gchar *code)
{ {
GtkTreeIter iter; GtkTreeIter iter;
g_return_val_if_fail (GIMP_IS_LANGUAGE_ENTRY (entry), FALSE); g_return_val_if_fail (GIMP_IS_LANGUAGE_ENTRY (entry), FALSE);
if (entry->code) g_clear_pointer (&entry->code, g_free);
{
g_free (entry->code);
entry->code = NULL;
}
if (! code || ! strlen (code)) if (! code || ! strlen (code))
{ {
gtk_entry_set_text (GTK_ENTRY (entry), ""); gtk_entry_set_text (GTK_ENTRY (entry), "");
return TRUE; return TRUE;
} }
if (gimp_language_store_lookup (GIMP_LANGUAGE_STORE (entry->store), if (gimp_language_store_lookup (GIMP_LANGUAGE_STORE (entry->store),
code, &iter)) code, &iter))
 End of changes. 1 change blocks. 
5 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)