dia r4365 - in trunk: . objects/network



Author: hans
Date: Sun Apr  5 15:16:41 2009
New Revision: 4365
URL: http://svn.gnome.org/viewvc/dia?rev=4365&view=rev

Log:
2009-04-04  Hans Breuer  <hans breuer org>

	* objects/network/basestation.c : don't move non-movable handles,
	fixing bug #574637




Modified:
   trunk/ChangeLog
   trunk/objects/network/basestation.c

Modified: trunk/objects/network/basestation.c
==============================================================================
--- trunk/objects/network/basestation.c	(original)
+++ trunk/objects/network/basestation.c	Sun Apr  5 15:16:41 2009
@@ -207,6 +207,9 @@
   assert(to!=NULL);
   assert(handle->id < 8);
 
+  if (handle->type == HANDLE_NON_MOVABLE)
+    return NULL;
+
   oc = element_move_handle (&(basestation->element), handle->id, to, cp, reason, modifiers);
 
   return oc;



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