ext/cairo/rb_cairo_surface.c in cairo-1.16.4 vs ext/cairo/rb_cairo_surface.c in cairo-1.16.5

- old
+ new

@@ -1,10 +1,10 @@ /* -*- c-file-style: "gnu"; indent-tabs-mode: nil -*- */ /* * Ruby Cairo Binding * - * Copyright 2005-2018 Kouhei Sutou <kou@cozmixng.org> + * Copyright 2005-2019 Kouhei Sutou <kou@cozmixng.org> * Copyright 2014 Patrick Hanevold <patrick.hanevold@gmail.com> * Copyright 2005 Øyvind Kolås <pippin@freedesktop.org> * Copyright 2004-2005 MenTaLguY <mental@rydia.com> * * This file is made available under the same terms as Ruby @@ -2105,12 +2105,12 @@ rb_define_method (rb_cCairo_Surface, "fallback_resolution", cr_surface_get_fallback_resolution, 0); #endif #if CAIRO_CHECK_VERSION(1, 5, 2) rb_define_method (rb_cCairo_Surface, "copy_page", - cr_surface_copy_page, 2); + cr_surface_copy_page, 0); rb_define_method (rb_cCairo_Surface, "show_page", - cr_surface_show_page, 2); + cr_surface_show_page, 0); #endif #ifdef CAIRO_HAS_PNG_FUNCTIONS rb_define_method (rb_cCairo_Surface, "write_to_png", cr_surface_write_to_png_generic, 1);