aboutsummaryrefslogtreecommitdiffstats
path: root/libgnomecanvas/gnome-canvas.c
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2010-10-20 17:22:48 +0800
committerMatthew Barnes <mbarnes@redhat.com>2010-10-30 01:50:03 +0800
commit861c878514348699ba66aa440e219e10ce393c9a (patch)
tree10c1f6f31909bc9e29a5c2e568598633d2e83138 /libgnomecanvas/gnome-canvas.c
parent7d8966eae329d09aec2352c7b0e9a92c777be035 (diff)
downloadgsoc2013-evolution-861c878514348699ba66aa440e219e10ce393c9a.tar.gz
gsoc2013-evolution-861c878514348699ba66aa440e219e10ce393c9a.tar.zst
gsoc2013-evolution-861c878514348699ba66aa440e219e10ce393c9a.zip
gnome-canvas: Remove gnome_canvas_set_stipple_origin()
Diffstat (limited to 'libgnomecanvas/gnome-canvas.c')
-rw-r--r--libgnomecanvas/gnome-canvas.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/libgnomecanvas/gnome-canvas.c b/libgnomecanvas/gnome-canvas.c
index 34e8c0b272..09acab0ce7 100644
--- a/libgnomecanvas/gnome-canvas.c
+++ b/libgnomecanvas/gnome-canvas.c
@@ -3536,24 +3536,6 @@ gnome_canvas_get_color_pixel (GnomeCanvas *canvas, guint rgba)
return color.pixel;
}
-/**
- * gnome_canvas_set_stipple_origin:
- * @canvas: A canvas.
- * @gc: GC on which to set the stipple origin.
- *
- * Sets the stipple origin of the specified GC as is appropriate for the canvas,
- * so that it will be aligned with other stipple patterns used by canvas items.
- * This is typically only needed by item implementations.
- **/
-void
-gnome_canvas_set_stipple_origin (GnomeCanvas *canvas, GdkGC *gc)
-{
- g_return_if_fail (GNOME_IS_CANVAS (canvas));
- g_return_if_fail (GDK_IS_GC (gc));
-
- gdk_gc_set_ts_origin (gc, -canvas->draw_xofs, -canvas->draw_yofs);
-}
-
static gboolean
boolean_handled_accumulator (GSignalInvocationHint *ihint,
GValue *return_accu,