gimp r27394 - in trunk: . app/core



Author: mitch
Date: Sat Oct 25 09:14:16 2008
New Revision: 27394
URL: http://svn.gnome.org/viewvc/gimp?rev=27394&view=rev

Log:
2008-10-25  Michael Natterer  <mitch gimp org>

	* app/core/gimpcontext.c (gimp_context_parent_notify): bail out if
	the notification is not about one of our own properties
	(but from a subclass).



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	Sat Oct 25 09:14:16 2008
@@ -1305,8 +1305,11 @@
                             GimpContext *context)
 {
   /*  copy from parent if the changed property is undefined  */
-  if (! ((1 << pspec->param_id) & context->defined_props))
-    gimp_context_copy_property (parent, context, pspec->param_id);
+  if (pspec->owner_type == GIMP_TYPE_CONTEXT &&
+      ! ((1 << pspec->param_id) & context->defined_props))
+    {
+      gimp_context_copy_property (parent, context, pspec->param_id);
+    }
 }
 
 void



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]