mirror of https://github.com/GNOME/gimp.git
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:
parent
36f062d1a0
commit
03c95511cc
|
@ -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
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue