don't directly pass a message to gimp_statusbar_push(), it expects a

2007-11-08  Sven Neumann  <sven@gimp.org>

	* app/display/gimpdisplayshell.c 
(gimp_display_shell_show_tooltip):
	don't directly pass a message to gimp_statusbar_push(), it 
expects
	a format string and printf-like varargs. Fixes the crash 
reported
	in bug #492718.


svn path=/trunk/; revision=24088
This commit is contained in:
Sven Neumann 2007-11-08 17:36:37 +00:00 committed by Sven Neumann
parent 9de9549980
commit 3d0b3e0759
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,10 @@
2007-11-08 Sven Neumann <sven@gimp.org>
* app/display/gimpdisplayshell.c (gimp_display_shell_show_tooltip):
don't directly pass a message to gimp_statusbar_push(), it expects
a format string and printf-like varargs. Fixes the crash reported
in bug #492718.
2007-11-08 Michael Natterer <mitch@gimp.org>
* app/core/gimpimage.c (gimp_image_clean_all): pass GIMP_DIRTY_ALL

View File

@ -604,7 +604,7 @@ gimp_display_shell_show_tooltip (GimpUIManager *manager,
GimpDisplayShell *shell)
{
gimp_statusbar_push (GIMP_STATUSBAR (shell->statusbar), "menu-tooltip",
tooltip);
"%s", tooltip);
}
static void