gimp r27620 - in trunk: . app/actions
- From: neo svn gnome org
- To: svn-commits-list gnome org
- Subject: gimp r27620 - in trunk: . app/actions
- Date: Tue, 11 Nov 2008 20:09:05 +0000 (UTC)
Author: neo
Date: Tue Nov 11 20:09:05 2008
New Revision: 27620
URL: http://svn.gnome.org/viewvc/gimp?rev=27620&view=rev
Log:
2008-11-11 Sven Neumann <sven gimp org>
Bug 560375 â Clearing an already empty document history crashes
GIMP
* app/actions/documents-commands.c
(documents_clear_cmd_callback):
gtk_recent_manager_purge_items() may return 0 but not set an
error.
Modified:
trunk/ChangeLog
trunk/app/actions/documents-commands.c
Modified: trunk/app/actions/documents-commands.c
==============================================================================
--- trunk/app/actions/documents-commands.c (original)
+++ trunk/app/actions/documents-commands.c Tue Nov 11 20:09:05 2008
@@ -232,8 +232,10 @@
gimp_container_clear (gimp->documents);
- if (! gtk_recent_manager_purge_items (gtk_recent_manager_get_default (),
- &error))
+ gtk_recent_manager_purge_items (gtk_recent_manager_get_default (),
+ &error);
+
+ if (error)
{
gimp_message_literal (gimp, G_OBJECT (dialog), GIMP_MESSAGE_ERROR,
error->message);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]