mirror of https://github.com/GNOME/gimp.git
avoid the crash reported in bug #470304.
2007-09-23 Sven Neumann <sven@gimp.org> * app/widgets/gimptooloptionseditor.c (gimp_tool_options_editor_get_title): avoid the crash reported in bug #470304. svn path=/trunk/; revision=23632
This commit is contained in:
parent
f1ce484ab2
commit
84409a2a7c
|
@ -1,3 +1,9 @@
|
|||
2007-09-23 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* app/widgets/gimptooloptionseditor.c
|
||||
(gimp_tool_options_editor_get_title): avoid the crash reported in
|
||||
bug #470304.
|
||||
|
||||
2007-09-23 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* plug-ins/common/lcms.c: marked blurbs as translatable.
|
||||
|
|
|
@ -246,7 +246,7 @@ gimp_tool_options_editor_get_title (GimpDocked *docked)
|
|||
|
||||
tool_info = gimp_context_get_tool (context);
|
||||
|
||||
return g_strdup (tool_info->blurb);
|
||||
return tool_info ? g_strdup (tool_info->blurb) : NULL;
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue