[cairo-commit] gtkcairo/tests demo.c,1.5,1.6

OEyvind Kolaas commit at pdx.freedesktop.org
Tue Jul 13 07:33:38 PDT 2004


Committed by: pippin

Update of /cvs/cairo/gtkcairo/tests
In directory pdx:/tmp/cvs-serv20923

Modified Files:
	demo.c 
Log Message:
forgot to do the s/redraw/paint in tests/demo.c


Index: demo.c
===================================================================
RCS file: /cvs/cairo/gtkcairo/tests/demo.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** demo.c	15 Feb 2004 17:46:28 -0000	1.5
--- demo.c	13 Jul 2004 14:33:35 -0000	1.6
***************
*** 13,17 ****
  
  static void
! redraw (GtkCairo *gtkcairo, cairo_t *cairo, GtkRange *range) {
  	GtkWidget *widget = GTK_WIDGET(gtkcairo);
  
--- 13,17 ----
  
  static void
! paint (GtkCairo *gtkcairo, cairo_t *cairo, GtkRange *range) {
  	GtkWidget *widget = GTK_WIDGET(gtkcairo);
  
***************
*** 77,82 ****
  	gtkcairo = gtk_cairo_new ();
  	gtk_widget_set_usize (GTK_WIDGET (gtkcairo), INITIAL_SIZE, INITIAL_SIZE);
! 	g_signal_connect (G_OBJECT (gtkcairo), "redraw",
! 	                  G_CALLBACK (redraw), slider);
  
  	gtk_container_add (GTK_CONTAINER (frame), gtkcairo);
--- 77,82 ----
  	gtkcairo = gtk_cairo_new ();
  	gtk_widget_set_usize (GTK_WIDGET (gtkcairo), INITIAL_SIZE, INITIAL_SIZE);
! 	g_signal_connect (G_OBJECT (gtkcairo), "paint",
! 	                  G_CALLBACK (paint), slider);
  
  	gtk_container_add (GTK_CONTAINER (frame), gtkcairo);





More information about the cairo-commit mailing list