dia r3996 - in trunk: . objects/standard
- From: hans svn gnome org
- To: svn-commits-list gnome org
- Subject: dia r3996 - in trunk: . objects/standard
- Date: Sat, 10 May 2008 11:29:49 +0100 (BST)
Author: hans
Date: Sat May 10 10:29:49 2008
New Revision: 3996
URL: http://svn.gnome.org/viewvc/dia?rev=3996&view=rev
Log:
2008-05-10 Hans Breuer <hans breuer org>
* objects/standard/outline.c : forgot to call update_data after copy
Modified:
trunk/ChangeLog
trunk/objects/standard/outline.c
Modified: trunk/objects/standard/outline.c
==============================================================================
--- trunk/objects/standard/outline.c (original)
+++ trunk/objects/standard/outline.c Sat May 10 10:29:49 2008
@@ -396,12 +396,12 @@
}
}
/* the last one is not drawn yet */
- if (s2 > s1) { /* blanking the previous one */
+ if (s2 > s1) { /* blanking the previous one */
if (s2 - i - 1 > 1) /* depending on the above we may be ready */
DIA_RENDERER_GET_CLASS (renderer)->fill_bezier (renderer, &pts[s2], s2 - i - 1, &color_white);
- } else {
+ } else {
if (s1 - i - 1 > 1)
- DIA_RENDERER_GET_CLASS (renderer)->fill_bezier (renderer, &pts[s1], s1 - i - 1, &outline->fill_color);
+ DIA_RENDERER_GET_CLASS (renderer)->fill_bezier (renderer, &pts[s1], s1 - i - 1, &outline->fill_color);
}
} /* show_background */
n = 0;
@@ -480,6 +480,7 @@
to->fill_color = from->fill_color;
to->show_background = from->show_background;
/* the rest will be recalculated in update_data() */
+ outline_update_data (to);
return &to->object;
}
@@ -488,7 +489,7 @@
{
if (outline->path)
cairo_path_destroy (outline->path);
- g_free (outline->name);
+ g_free (outline->name);
object_destroy(&outline->object);
/* but not the object itself? */
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]