[cairo-commit] cairo-demo/cairo_snippets cairo_snippets_gtk.c, 1.2, 1.3

OEyvind Kolaas commit at pdx.freedesktop.org
Tue Jun 29 01:21:59 PDT 2004


Committed by: pippin

Update of /cvs/cairo/cairo-demo/cairo_snippets
In directory pdx:/tmp/cvs-serv3555

Modified Files:
	cairo_snippets_gtk.c 
Log Message:
s/redraw/paint/ signal renaming


Index: cairo_snippets_gtk.c
===================================================================
RCS file: /cvs/cairo/cairo-demo/cairo_snippets/cairo_snippets_gtk.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** cairo_snippets_gtk.c	18 May 2004 13:09:21 -0000	1.2
--- cairo_snippets_gtk.c	29 Jun 2004 08:21:56 -0000	1.3
***************
*** 18,22 ****
  
  static void
! redraw (GtkWidget *widget,
          cairo_t   *cr,
          void      *data)
--- 18,22 ----
  
  static void
! paint (GtkWidget *widget,
          cairo_t   *cr,
          void      *data)
***************
*** 144,149 ****
      gtk_widget_set_usize (GTK_WIDGET (gtkcairo), 256, 256);
  
!     g_signal_connect (G_OBJECT (gtkcairo), "redraw",
!                       G_CALLBACK (redraw), NULL);
  
      source_view = create_source_view ();
--- 144,149 ----
      gtk_widget_set_usize (GTK_WIDGET (gtkcairo), 256, 256);
  
!     g_signal_connect (G_OBJECT (gtkcairo), "paint",
!                       G_CALLBACK (paint), NULL);
  
      source_view = create_source_view ();





More information about the cairo-commit mailing list