[dia] [cleanup] Get rid of ConnectionPoint::last_pos (missed part)



commit 8089c26e56365a5f01f1da47c344a00b1fadc318
Author: Hans Breuer <hans breuer org>
Date:   Thu Jan 2 13:44:28 2014 +0100

    [cleanup] Get rid of ConnectionPoint::last_pos (missed part)
    
    Makes sizeof(ConnectionPoint)==32, before it was 48.
    The single real user diagram_update_connections_object() was easy
    to convert with other 'redundant' position information. So one less
    extra field to maintain.

 objects/UML/class.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/objects/UML/class.c b/objects/UML/class.c
index 4b0f7b3..2278a69 100644
--- a/objects/UML/class.c
+++ b/objects/UML/class.c
@@ -2115,8 +2115,6 @@ umlclass_copy(UMLClass *umlclass)
   newumlclass->connections[UMLCLASS_CONNECTIONPOINTS].connected = NULL;
   newumlclass->connections[UMLCLASS_CONNECTIONPOINTS].pos = 
     umlclass->connections[UMLCLASS_CONNECTIONPOINTS].pos;
-  newumlclass->connections[UMLCLASS_CONNECTIONPOINTS].last_pos =
-    umlclass->connections[UMLCLASS_CONNECTIONPOINTS].last_pos;
   newumlclass->connections[UMLCLASS_CONNECTIONPOINTS].flags = 
     umlclass->connections[UMLCLASS_CONNECTIONPOINTS].flags;
 #endif


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