[cairo-commit] goocanvas ChangeLog,1.47,1.48

Damon Chaplin commit at pdx.freedesktop.org
Wed Aug 23 04:56:08 PDT 2006


Committed by: damon

Update of /cvs/cairo/goocanvas
In directory kemper:/tmp/cvs-serv32537

Modified Files:
	ChangeLog 
Log Message:
2006-08-23  Damon Chaplin  <damon at gnome.org>

	* src/goocanvasview.c: keep an item_to_view hash table so apps can
	get the view for particular items (e.g. as an easy alternative for
	setting up signal handlers).
	(goo_canvas_view_get_item_view): new function to get the item view for
	a given item.
	(goo_canvas_view_unregister_item_view): new function that implementors
	of GooCanvasItemView should call in their finalize method to unregister
	the view (so the GooCanvasView removes it from the hash table.)
	(goo_canvas_view_create_item_view): add the new item view to the
	item_to_view hash table.

	* src/goocanvasitemviewsimple.c (goo_canvas_item_view_simple_finalize):
	* src/goocanvasgroupview.c (goo_canvas_group_view_finalize): unregister
	the item view.
	(goo_canvas_group_view_set_parent_view): don't change the canvas view
	here any more, since we don't support that.

	* demo/simple-demo.c: updated to use simple signal handler setup.



Index: ChangeLog
===================================================================
RCS file: /cvs/cairo/goocanvas/ChangeLog,v
retrieving revision 1.47
retrieving revision 1.48
diff -u -d -r1.47 -r1.48
--- ChangeLog	22 Aug 2006 12:39:09 -0000	1.47
+++ ChangeLog	23 Aug 2006 11:56:05 -0000	1.48
@@ -1,3 +1,24 @@
+2006-08-23  Damon Chaplin  <damon at gnome.org>
+
+	* src/goocanvasview.c: keep an item_to_view hash table so apps can
+	get the view for particular items (e.g. as an easy alternative for
+	setting up signal handlers).
+	(goo_canvas_view_get_item_view): new function to get the item view for
+	a given item.
+	(goo_canvas_view_unregister_item_view): new function that implementors
+	of GooCanvasItemView should call in their finalize method to unregister
+	the view (so the GooCanvasView removes it from the hash table.)
+	(goo_canvas_view_create_item_view): add the new item view to the
+	item_to_view hash table.
+
+	* src/goocanvasitemviewsimple.c (goo_canvas_item_view_simple_finalize):
+	* src/goocanvasgroupview.c (goo_canvas_group_view_finalize): unregister
+	the item view.
+	(goo_canvas_group_view_set_parent_view): don't change the canvas view
+	here any more, since we don't support that.
+
+	* demo/simple-demo.c: updated to use simple signal handler setup.
+
 2006-08-22  Damon Chaplin  <damon at gnome.org>
 
 	* src/goocanvasview.c (goo_canvas_view_class_init): 2 minor fixes for



More information about the cairo-commit mailing list