[cairo-commit] cairo-demo/gtkcairo_slide puzzle.c,1.5,1.6

OEyvind Kolaas commit at pdx.freedesktop.org
Tue Jun 29 01:22:40 PDT 2004


Committed by: pippin

Update of /cvs/cairo/cairo-demo/gtkcairo_slide
In directory pdx:/tmp/cvs-serv3688

Modified Files:
	puzzle.c 
Log Message:
s/redraw/paint/


Index: puzzle.c
===================================================================
RCS file: /cvs/cairo/cairo-demo/gtkcairo_slide/puzzle.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** puzzle.c	23 Jun 2004 03:34:06 -0000	1.5
--- puzzle.c	29 Jun 2004 08:22:38 -0000	1.6
***************
*** 246,250 ****
  /* prototpe for the redraw callback we register with gtkcairo */
  
! static void redraw (GtkCairo *gtkcairo,
                      cairo_t  *cr,
                      gpointer  user_data);
--- 246,250 ----
  /* prototpe for the redraw callback we register with gtkcairo */
  
! static void paint  (GtkCairo *gtkcairo,
                      cairo_t  *cr,
                      gpointer  user_data);
***************
*** 267,272 ****
      gtk_widget_set_size_request (widget, 256, 256);
  
!     g_signal_connect (G_OBJECT (widget), "redraw", 
!                       G_CALLBACK (redraw), puzzle);
  
      g_signal_connect (G_OBJECT (widget), "motion_notify_event",
--- 267,272 ----
      gtk_widget_set_size_request (widget, 256, 256);
  
!     g_signal_connect (G_OBJECT (widget), "paint",
!                       G_CALLBACK (paint), puzzle);
  
      g_signal_connect (G_OBJECT (widget), "motion_notify_event",
***************
*** 349,356 ****
  }
  
! /* actual redraw function */
  
  static void
! redraw (GtkCairo *gtkcairo,
          cairo_t  *cr,
          gpointer  user_data)
--- 349,356 ----
  }
  
! /* actual paint function */
  
  static void
! paint (GtkCairo *gtkcairo,
          cairo_t  *cr,
          gpointer  user_data)





More information about the cairo-commit mailing list