Ejemplo n.º 1
0
static void
stereosplit_finalize (GstGLStereoSplit * self)
{
  GObjectClass *klass = G_OBJECT_CLASS (gst_gl_stereosplit_parent_class);

  if (self->viewconvert)
    gst_object_replace ((GstObject **) & self->viewconvert, NULL);

  klass->finalize ((GObject *) (self));
}
Ejemplo n.º 2
0
static void
crank_composite_finalize (GObject *object)
{
  GObjectClass *pc = crank_composite_parent_class;
  CrankComposite *self = (CrankComposite*)object;
  CrankCompositePrivate *priv = crank_composite_get_instance_private (self);

  g_array_unref (priv->data);

  pc->finalize (object);
}
Ejemplo n.º 3
0
static void g_sql_result_finalize(GObject * gobj)
{
	GSQLResult * obj = (GSQLResult*)gobj;
	GObjectClass* klass = G_OBJECT_CLASS(g_sql_result_parent_class);

	g_ptr_array_free(obj->colum,TRUE);

	obj->freerows(obj);
	g_signal_emit_by_name(gobj,"destory");
	if(klass->finalize)
		klass->finalize(gobj);
}
Ejemplo n.º 4
0
static void
complete_finalize (GObject *object)
{
	GObjectClass *parent;
	GnmComplete *complete = GNM_COMPLETE (object);

	if (complete->idle_tag) {
		g_source_remove (complete->idle_tag);
		complete->idle_tag = 0;
	}

	g_free (complete->text);
	complete->text = NULL;

	parent = g_type_class_peek (PARENT_TYPE);
	parent->finalize (object);
}