element: use NULL instead of 0 for pointers
authorWim Taymans <wim.taymans@collabora.co.uk>
Wed, 9 Dec 2009 12:27:22 +0000 (13:27 +0100)
committerWim Taymans <wim.taymans@collabora.co.uk>
Wed, 9 Dec 2009 12:27:22 +0000 (13:27 +0100)
gst/gstelement.c

index 8e3f3a4..80baa04 100644 (file)
@@ -2861,7 +2861,7 @@ gst_element_dispose (GObject * object)
     /* don't call _remove_pad with NULL */
     gst_element_remove_pad (element, GST_PAD_CAST (element->pads->data));
   }
-  if (G_UNLIKELY (element->pads != 0)) {
+  if (G_UNLIKELY (element->pads != NULL)) {
     g_critical ("could not remove pads from element %s",
         GST_STR_NULL (GST_OBJECT_NAME (object)));
   }