From 2cd09b6c68b4d204583c4031c633bcbcf7473590 Mon Sep 17 00:00:00 2001 From: "Ronald S. Bultje" Date: Mon, 29 Sep 2003 14:32:22 +0000 Subject: [PATCH] cast -> check, since we don't need the result. This also removes a warning when it fails, and since we check for that... Original commit message from CVS: cast -> check, since we don't need the result. This also removes a warning when it fails, and since we check for that ourselves, that's a good thing. --- gst/gstinterface.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/gstinterface.c b/gst/gstinterface.c index 862a37f..d91d605 100644 --- a/gst/gstinterface.c +++ b/gst/gstinterface.c @@ -154,7 +154,7 @@ gst_interface_check (gpointer from, GstInterface *iface; /* check cast, return FALSE if it fails, don't give a warning... */ - if (!G_TYPE_CHECK_INSTANCE_CAST (from, type, GstInterface)) { + if (!G_TYPE_CHECK_INSTANCE_TYPE (from, type)) { return FALSE; } -- 2.7.4