summaryrefslogtreecommitdiff
path: root/science/gchempaint/files/patch-libgcpcanvas-gcp-canvas-shape.c
blob: 81f313c0b0019d588fdd374f88e1f6bbd142b8ba (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
--- libgcpcanvas/gcp-canvas-shape.c.orig	Sun Oct 12 13:51:42 2003
+++ libgcpcanvas/gcp-canvas-shape.c	Sun Nov  9 00:53:27 2003
@@ -95,13 +95,13 @@
 
 void gnome_canvas_shape_ext_print (GPrintable *printable, GnomePrintContext *pc)
 {
-	g_return_if_fail (GNOME_IS_CANVAS_SHAPE_EXT (printable));
 	GnomeCanvasShape *shape;
 	GnomeCanvasShapePriv * priv;
 	GnomeCanvasPathDef * path;
 	gdouble width;
 	ArtBpath * bpath;
 	
+	g_return_if_fail (GNOME_IS_CANVAS_SHAPE_EXT (printable));
 	shape = GNOME_CANVAS_SHAPE (printable);
 	priv = shape->priv;
 	path = priv->path;