gimp r25174 - in trunk: . app/core
- From: mitch svn gnome org
- To: svn-commits-list gnome org
- Subject: gimp r25174 - in trunk: . app/core
- Date: Sun, 23 Mar 2008 13:27:51 +0000 (GMT)
Author: mitch
Date: Sun Mar 23 13:27:51 2008
New Revision: 25174
URL: http://svn.gnome.org/viewvc/gimp?rev=25174&view=rev
Log:
2008-03-23 Michael Natterer <mitch gimp org>
* app/core/gimpcontext.c (gimp_context_real_set_display): set the
image also if it is NULL.
Modified:
trunk/ChangeLog
trunk/app/core/gimpcontext.c
Modified: trunk/app/core/gimpcontext.c
==============================================================================
--- trunk/app/core/gimpcontext.c (original)
+++ trunk/app/core/gimpcontext.c Sun Mar 23 13:27:51 2008
@@ -1777,12 +1777,10 @@
g_object_get (display, "image", &image, NULL);
- if (image)
- {
- gimp_context_real_set_image (context, image);
+ gimp_context_real_set_image (context, image);
- g_object_unref (image);
- }
+ if (image)
+ g_object_unref (image);
}
g_object_notify (G_OBJECT (context), "display");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]