gimp r24989 - in trunk: . app/gui
- From: neo svn gnome org
- To: svn-commits-list gnome org
- Subject: gimp r24989 - in trunk: . app/gui
- Date: Wed, 27 Feb 2008 08:20:54 +0000 (GMT)
Author: neo
Date: Wed Feb 27 08:20:54 2008
New Revision: 24989
URL: http://svn.gnome.org/viewvc/gimp?rev=24989&view=rev
Log:
2008-02-27 Sven Neumann <sven gimp org>
* app/gui/gui-vtable.c (gui_display_create): added a sanity
check
which might help to catch the problem reported in bug #518905.
Modified:
trunk/ChangeLog
trunk/app/gui/gui-vtable.c
Modified: trunk/app/gui/gui-vtable.c
==============================================================================
--- trunk/app/gui/gui-vtable.c (original)
+++ trunk/app/gui/gui-vtable.c Wed Feb 27 08:20:54 2008
@@ -285,6 +285,8 @@
image_managers = gimp_ui_managers_from_name ("<Image>");
+ g_return_val_if_fail (image_managers != NULL, NULL);
+
display = gimp_display_new (image, unit, scale,
global_menu_factory,
image_managers->data);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]