dia r4145 - in trunk: . objects/Database objects/UML
- From: hans svn gnome org
- To: svn-commits-list gnome org
- Subject: dia r4145 - in trunk: . objects/Database objects/UML
- Date: Sat, 22 Nov 2008 15:55:52 +0000 (UTC)
Author: hans
Date: Sat Nov 22 15:55:52 2008
New Revision: 4145
URL: http://svn.gnome.org/viewvc/dia?rev=4145&view=rev
Log:
2008-11-22 Hans Breuer <hans breuer org>
* objects/Database/table.c objects/UML/class.c : less warnings, patch by
Sameer Sahasrabuddhe
Modified:
trunk/ChangeLog
trunk/objects/Database/table.c
trunk/objects/UML/class.c
Modified: trunk/objects/Database/table.c
==============================================================================
--- trunk/objects/Database/table.c (original)
+++ trunk/objects/Database/table.c Sat Nov 22 15:55:52 2008
@@ -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: trunk/objects/UML/class.c
==============================================================================
--- trunk/objects/UML/class.c (original)
+++ trunk/objects/UML/class.c Sat Nov 22 15:55:52 2008
@@ -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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]