[cairo-commit] goocanvas/demo demo.c, 1.18, 1.19 mv-demo.c, 1.5,
1.6 mv-scalability-demo.c, 1.1, 1.2 scalability-demo.c, 1.6,
1.7 units-demo.c, 1.2, 1.3 widgets-demo.c, 1.1, 1.2
Damon Chaplin
commit at pdx.freedesktop.org
Sat Feb 24 03:16:42 PST 2007
- Previous message: [cairo-commit] goocanvas/src goocanvas.c,1.7,1.8
- Next message: [cairo-commit] cairo-perl Cairo.pm, 1.22.2.2, 1.22.2.3 ChangeLog,
1.43.2.7, 1.43.2.8 NEWS, 1.9.2.2, 1.9.2.3 README, 1.11.2.2, 1.11.2.3
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Committed by: damon
Update of /cvs/cairo/goocanvas/demo
In directory kemper:/tmp/cvs-serv11941/demo
Modified Files:
demo.c mv-demo.c mv-scalability-demo.c scalability-demo.c
units-demo.c widgets-demo.c
Log Message:
2007-02-24 Damon Chaplin <damon at gnome.org>
* demo/widgets-demo.c (on_delete_event):
* demo/units-demo.c (on_delete_event):
* demo/mv-scalability-demo.c (on_delete_event):
* demo/scalability-demo.c (on_delete_event):
* demo/mv-demo.c (on_delete_event):
* demo/demo.c (on_delete_event): use gtk_main_quit() rather than exit()
here, so GTK+ destroys the window and the finalization code gets
tested.
* src/goocanvas.c (goo_canvas_remove): implement this so embedded
widgets are removed properly.
Index: demo.c
===================================================================
RCS file: /cvs/cairo/goocanvas/demo/demo.c,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -d -r1.18 -r1.19
--- demo.c 20 Feb 2007 23:53:17 -0000 1.18
+++ demo.c 24 Feb 2007 11:16:36 -0000 1.19
@@ -1193,7 +1193,8 @@
GdkEvent *event,
gpointer unused_data)
{
- exit (0);
+ gtk_main_quit ();
+ return FALSE;
}
Index: mv-demo.c
===================================================================
RCS file: /cvs/cairo/goocanvas/demo/mv-demo.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- mv-demo.c 20 Feb 2007 23:53:17 -0000 1.5
+++ mv-demo.c 24 Feb 2007 11:16:36 -0000 1.6
@@ -1188,7 +1188,8 @@
GdkEvent *event,
gpointer unused_data)
{
- exit (0);
+ gtk_main_quit ();
+ return FALSE;
}
Index: mv-scalability-demo.c
===================================================================
RCS file: /cvs/cairo/goocanvas/demo/mv-scalability-demo.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- mv-scalability-demo.c 19 Feb 2007 13:22:35 -0000 1.1
+++ mv-scalability-demo.c 24 Feb 2007 11:16:36 -0000 1.2
@@ -241,7 +241,8 @@
GdkEvent *event,
gpointer unused_data)
{
- exit (0);
+ gtk_main_quit ();
+ return FALSE;
}
Index: scalability-demo.c
===================================================================
RCS file: /cvs/cairo/goocanvas/demo/scalability-demo.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- scalability-demo.c 19 Feb 2007 13:23:28 -0000 1.6
+++ scalability-demo.c 24 Feb 2007 11:16:36 -0000 1.7
@@ -237,7 +237,8 @@
GdkEvent *event,
gpointer unused_data)
{
- exit (0);
+ gtk_main_quit ();
+ return FALSE;
}
Index: units-demo.c
===================================================================
RCS file: /cvs/cairo/goocanvas/demo/units-demo.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- units-demo.c 29 Nov 2006 18:47:02 -0000 1.2
+++ units-demo.c 24 Feb 2007 11:16:36 -0000 1.3
@@ -131,7 +131,8 @@
GdkEvent *event,
gpointer unused_data)
{
- exit (0);
+ gtk_main_quit ();
+ return FALSE;
}
Index: widgets-demo.c
===================================================================
RCS file: /cvs/cairo/goocanvas/demo/widgets-demo.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- widgets-demo.c 29 Nov 2006 18:27:06 -0000 1.1
+++ widgets-demo.c 24 Feb 2007 11:16:36 -0000 1.2
@@ -154,7 +154,8 @@
GdkEvent *event,
gpointer unused_data)
{
- exit (0);
+ gtk_main_quit ();
+ return FALSE;
}
- Previous message: [cairo-commit] goocanvas/src goocanvas.c,1.7,1.8
- Next message: [cairo-commit] cairo-perl Cairo.pm, 1.22.2.2, 1.22.2.3 ChangeLog,
1.43.2.7, 1.43.2.8 NEWS, 1.9.2.2, 1.9.2.3 README, 1.11.2.2, 1.11.2.3
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the cairo-commit
mailing list