diff --git a/ChangeLog b/ChangeLog index 13f0d7fc6e..caa4438e27 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2005-01-22 Sven Neumann + + * libgimpbase/gimputils.c (gimp_enum_value_get_help): same fix here. + 2005-01-21 Bill Skaggs * app/config/gimpconfig-types.c diff --git a/libgimpbase/gimputils.c b/libgimpbase/gimputils.c index dcb5a6579a..e6428ed117 100644 --- a/libgimpbase/gimputils.c +++ b/libgimpbase/gimputils.c @@ -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);