... small patch.
Sameer.
--
http://www.it.iitb.ac.in/~sameerds/
=== modified file 'objects/Database/table.c'
--- objects/Database/table.c 2008-11-18 10:10:03 +0000
+++ objects/Database/table.c 2008-11-18 10:12:35 +0000
@@ -764,7 +764,7 @@
static real
table_distance_from (Table * table, Point *point)
{
- Rectangle * rect;
+ const Rectangle * rect;
DiaObject * obj;
obj = &table->element.object;
=== modified file 'objects/UML/class.c'
--- objects/UML/class.c 2008-11-18 10:10:03 +0000
+++ objects/UML/class.c 2008-11-18 10:12:35 +0000
@@ -497,7 +497,6 @@
DiaRendererClass *renderer_ops = DIA_RENDERER_GET_CLASS (renderer);
Point UnderlineStartPoint;
Point UnderlineEndPoint;
- Point WhitespaceEndPoint;
gchar *whitespaces;
int first_non_whitespace = 0;
@@ -1266,7 +1265,6 @@
if (umlclass->template) {
/* fix boundingumlclass for templates: */
- real bb_width = obj->bounding_box.right - obj->bounding_box.left;
obj->bounding_box.top -= (umlclass->templates_height - UMLCLASS_TEMPLATE_OVERLAY_Y) ;
obj->bounding_box.right += (umlclass->templates_width - UMLCLASS_TEMPLATE_OVERLAY_X);
obj->bounding_box.left -= (elem->width < UMLCLASS_TEMPLATE_OVERLAY_X) ?
@@ -2332,7 +2330,7 @@
int num_fixed_connections = UMLCLASS_CONNECTIONPOINTS;
#endif
DiaObject *obj = (DiaObject*)c;
- GList *attrs, *ops;
+ GList *attrs;
int i;
dia_object_sanity_check((DiaObject *)c, msg);
_______________________________________________
dia-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/dia-list
FAQ at http://live.gnome.org/Dia/Faq
Main page at http://live.gnome.org/Dia