[Tomoe-cvs 883] CVS update: libtomoe-gtk/src

Back to archive index

Hiroyuki Ikezoe ikezo****@users*****
2006年 11月 22日 (水) 16:22:25 JST


Index: libtomoe-gtk/src/tomoe-canvas.c
diff -u libtomoe-gtk/src/tomoe-canvas.c:1.15 libtomoe-gtk/src/tomoe-canvas.c:1.16
--- libtomoe-gtk/src/tomoe-canvas.c:1.15	Wed Nov 22 16:13:34 2006
+++ libtomoe-gtk/src/tomoe-canvas.c	Wed Nov 22 16:22:25 2006
@@ -363,7 +363,7 @@
     /* tomoe_canvas_refresh (canvas); */
 
     if (event->button == 1 && priv->pixmap != NULL) {
-        tomoe_canvas_append_point (canvas, (gint) event->x, (gint) event->y);
+        tomoe_writing_move_to (priv->writing, (gint) event->x, (gint) event->y);
     }
 
     return retval;
@@ -540,6 +540,8 @@
         priv->candidates     = NULL;
     }
 
+    tomoe_writing_clear (priv->writing);
+
     tomoe_canvas_refresh (canvas);
 }
 


tomoe-cvs メーリングリストの案内
Back to archive index