projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5d1e64e
)
cast -> check, since we don't need the result. This also removes a warning when it...
author
Ronald S. Bultje
<rbultje@ronald.bitfreak.net>
Mon, 29 Sep 2003 14:32:22 +0000
(14:32 +0000)
committer
Ronald S. Bultje
<rbultje@ronald.bitfreak.net>
Mon, 29 Sep 2003 14:32:22 +0000
(14:32 +0000)
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
patch
|
blob
|
history
diff --git
a/gst/gstinterface.c
b/gst/gstinterface.c
index
862a37f
..
d91d605
100644
(file)
--- 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, GstInterfac
e)) {
+ if (!G_TYPE_CHECK_INSTANCE_
TYPE (from, typ
e)) {
return FALSE;
}