check for event != NULL to avoid crashing when the cell is activated using

2003-03-28  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimpcellrenderertoggle.c
	(gimp_cell_renderer_toggle_activate): check for event != NULL to
	avoid crashing when the cell is activated using the keyboard.
This commit is contained in:
Sven Neumann 2003-03-28 08:21:47 +00:00 committed by Sven Neumann
parent 4e3b31e989
commit bc9ef72c45
4 changed files with 22 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2003-03-28 Sven Neumann <sven@gimp.org>
* app/widgets/gimpcellrenderertoggle.c
(gimp_cell_renderer_toggle_activate): check for event != NULL to
avoid crashing when the cell is activated using the keyboard.
2003-03-28 Sven Neumann <sven@gimp.org>
* app/text/gimptext-compat.c: respect the antialias parameter.

14
NEWS
View File

@ -8,6 +8,20 @@ development takes place on the road to the next stable release
dubbed GIMP 1.4.
Overview of Changes in GIMP 1.3.14
==================================
- Keyboard navigation for grid views [Sven]
- List and grid views for fonts [Mitch, Sven]
- Minor text tool improvements [Sven]
- More icons in even more sizes [Jimmac, Mitch, Sven]
- I18n header cleanup [Sven]
- Lots of bug fixes
Other contributors:
Manish Singh
Overview of Changes in GIMP 1.3.13
==================================

View File

@ -417,7 +417,7 @@ gimp_cell_renderer_toggle_activate (GtkCellRenderer *cell,
celltoggle = GTK_CELL_RENDERER_TOGGLE (cell);
if (celltoggle->activatable)
if (celltoggle->activatable && event)
{
GdkModifierType state = 0;

View File

@ -417,7 +417,7 @@ gimp_cell_renderer_toggle_activate (GtkCellRenderer *cell,
celltoggle = GTK_CELL_RENDERER_TOGGLE (cell);
if (celltoggle->activatable)
if (celltoggle->activatable && event)
{
GdkModifierType state = 0;