[cairo-commit] cairo-demo/path_paint ChangeLog, 1.2, 1.3 path_paint.c, 1.2, 1.3

OEyvind Kolaas commit at pdx.freedesktop.org
Mon Sep 20 09:45:13 PDT 2004


Committed by: pippin

Update of /cvs/cairo/cairo-demo/path_paint
In directory gabe:/tmp/cvs-serv24822

Modified Files:
	ChangeLog path_paint.c 
Log Message:
signal renamed from redraw to paint in late june,.


Index: ChangeLog
===================================================================
RCS file: /cvs/cairo/cairo-demo/path_paint/ChangeLog,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** ChangeLog	29 May 2004 16:39:03 -0000	1.2
--- ChangeLog	20 Sep 2004 16:45:11 -0000	1.3
***************
*** 1,2 ****
--- 1,5 ----
+ 2004-09-20 OEyvind Kolaas <pippin at freedesktop.org>
+ 	*path_paint.c: signal in gtkcairo was renamed from redraw to paint
+ 
  2004-05-28 OEyvind Kolaas <pippin at freedesktop.org> 
  	*path_paint.c: added X keybinding for toggling between black/white

Index: path_paint.c
===================================================================
RCS file: /cvs/cairo/cairo-demo/path_paint/path_paint.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** path_paint.c	29 May 2004 16:39:03 -0000	1.2
--- path_paint.c	20 Sep 2004 16:45:11 -0000	1.3
***************
*** 110,116 ****
  
  void
! redraw (GtkCairo *gtkcairo,
!         cairo_t  *cr,
!         gpointer data)
  {
      drawapp_render (cr, buffer);
--- 110,116 ----
  
  void
! paint (GtkCairo *gtkcairo,
!        cairo_t  *cr,
!        gpointer data)
  {
      drawapp_render (cr, buffer);
***************
*** 231,236 ****
     gtk_widget_set_size_request (gtkcairo, WIDTH, HEIGHT);
  
!    g_signal_connect (G_OBJECT (gtkcairo), "redraw",
!                      G_CALLBACK (redraw), NULL);
     g_signal_connect (G_OBJECT (gtkcairo), "motion_notify_event",
                       G_CALLBACK (event_motion), NULL);
--- 231,236 ----
     gtk_widget_set_size_request (gtkcairo, WIDTH, HEIGHT);
  
!    g_signal_connect (G_OBJECT (gtkcairo), "paint",
!                      G_CALLBACK (paint), NULL);
     g_signal_connect (G_OBJECT (gtkcairo), "motion_notify_event",
                       G_CALLBACK (event_motion), NULL);




More information about the cairo-commit mailing list