gimp r27621 - in branches/gimp-2-6: . app/actions
- From: neo svn gnome org
- To: svn-commits-list gnome org
- Subject: gimp r27621 - in branches/gimp-2-6: . app/actions
- Date: Tue, 11 Nov 2008 20:10:53 +0000 (UTC)
Author: neo
Date: Tue Nov 11 20:10:53 2008
New Revision: 27621
URL: http://svn.gnome.org/viewvc/gimp?rev=27621&view=rev
Log:
2008-11-11 Sven Neumann <sven gimp org>
Merged from trunk:
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:
branches/gimp-2-6/ChangeLog
branches/gimp-2-6/app/actions/documents-commands.c
Modified: branches/gimp-2-6/app/actions/documents-commands.c
==============================================================================
--- branches/gimp-2-6/app/actions/documents-commands.c (original)
+++ branches/gimp-2-6/app/actions/documents-commands.c Tue Nov 11 20:10:53 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 (gimp, G_OBJECT (dialog), GIMP_MESSAGE_ERROR,
"%s", error->message);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]