same fix here.

2005-01-22  Sven Neumann  <sven@gimp.org>

	* libgimpbase/gimputils.c (gimp_enum_value_get_help): same fix here.
This commit is contained in:
Sven Neumann 2005-01-22 01:06:52 +00:00 committed by Sven Neumann
parent 36f062d1a0
commit 03c95511cc
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2005-01-22 Sven Neumann <sven@gimp.org>
* libgimpbase/gimputils.c (gimp_enum_value_get_help): same fix here.
2005-01-21 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* app/config/gimpconfig-types.c

View File

@ -481,7 +481,7 @@ gimp_enum_value_get_help (GEnumClass *enum_class,
enum_desc = gimp_enum_get_desc (enum_class, enum_value->value);
if (enum_desc->value_help)
if (enum_desc && enum_desc->value_help)
return dgettext (gimp_type_get_translation_domain (type),
enum_desc->value_help);