diff options
author | Carl Worth <cworth@cworth.org> | 2006-06-06 15:41:31 -0700 |
---|---|---|
committer | Carl Worth <cworth@cworth.org> | 2006-06-06 15:41:31 -0700 |
commit | 5278de09973c3e41028dc80a8862db01fc70cf11 (patch) | |
tree | fa1b95ff513448d59ef955ba255ed7f681a486c2 /doc/tutorial | |
parent | 00592e075754594605fddfb2a702f3d2caa7c55c (diff) |
Remove all remaining trailing whitespace.
This patch was produced with the following (GNU) sed script:
sed -i -r -e 's/[ \t]+$//'
run on all *.[ch] files within cairo.
Note that the above script would have also created all the changes
from the previous commits to remove trailing whitespace.
Diffstat (limited to 'doc/tutorial')
-rw-r--r-- | doc/tutorial/src/include/cairo-tutorial-gtk.h | 6 | ||||
-rw-r--r-- | doc/tutorial/src/include/cairo-tutorial-pdf.h | 2 | ||||
-rw-r--r-- | doc/tutorial/src/include/cairo-tutorial-png.h | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/doc/tutorial/src/include/cairo-tutorial-gtk.h b/doc/tutorial/src/include/cairo-tutorial-gtk.h index 8a820f3db..e9445530c 100644 --- a/doc/tutorial/src/include/cairo-tutorial-gtk.h +++ b/doc/tutorial/src/include/cairo-tutorial-gtk.h @@ -45,13 +45,13 @@ gdk_cairo_create (GdkDrawable *drawable) GdkVisual *visual = gdk_drawable_get_visual (drawable); gdk_drawable_get_size (drawable, &width, &height); - if (visual) + if (visual) surface = cairo_xlib_surface_create (GDK_DRAWABLE_XDISPLAY (drawable), GDK_DRAWABLE_XID (drawable), GDK_VISUAL_XVISUAL (visual), width, height); else if (gdk_drawable_get_depth (drawable) == 1) - surface = cairo_xlib_surface_create_for_bitmap + surface = cairo_xlib_surface_create_for_bitmap (GDK_PIXMAP_XDISPLAY (drawable), GDK_PIXMAP_XID (drawable), GDK_SCREEN_XSCREEN (gdk_drawable_get_screen (drawable)), @@ -101,7 +101,7 @@ handle_key_press (GtkWidget *widget, return FALSE; } -int +int main (int argc, char **argv) { GtkWidget *window, *drawing_area; diff --git a/doc/tutorial/src/include/cairo-tutorial-pdf.h b/doc/tutorial/src/include/cairo-tutorial-pdf.h index c65b7e4a8..4c89590ad 100644 --- a/doc/tutorial/src/include/cairo-tutorial-pdf.h +++ b/doc/tutorial/src/include/cairo-tutorial-pdf.h @@ -35,7 +35,7 @@ static void draw (cairo_t *cr, int width, int height); -int +int main (int argc, char **argv) { cairo_surface_t *surface; diff --git a/doc/tutorial/src/include/cairo-tutorial-png.h b/doc/tutorial/src/include/cairo-tutorial-png.h index 837dc370c..9e15d4c25 100644 --- a/doc/tutorial/src/include/cairo-tutorial-png.h +++ b/doc/tutorial/src/include/cairo-tutorial-png.h @@ -34,7 +34,7 @@ static void draw (cairo_t *cr, int width, int height); -int +int main (int argc, char **argv) { cairo_surface_t *surface; |