Exemplo n.º 1
0
void soy_joints_hinge_set_anchor (soyjointsHinge* self, soyatomsPosition* value) {
	soyatomsPosition* _tmp0_;
	soyatomsPosition* _tmp1_;
	soyatomsPosition* _tmp5_;
	soyatomsPosition* _tmp6_;
	soyatomsPosition* _tmp7_;
	g_return_if_fail (self != NULL);
	_tmp0_ = value;
	_soy_joints_hinge_anchor_set (self, _tmp0_);
	_tmp1_ = self->priv->_anchor_obj;
	if (_tmp1_ != NULL) {
		soyatomsPosition* _tmp2_;
		guint _tmp3_ = 0U;
		soyatomsPosition* _tmp4_;
		_tmp2_ = self->priv->_anchor_obj;
		g_signal_parse_name ("on-set", SOY_ATOMS_TYPE_POSITION, &_tmp3_, NULL, FALSE);
		g_signal_handlers_disconnect_matched (_tmp2_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp3_, 0, NULL, (GCallback) __soy_joints_hinge_anchor_set_soy_atoms_position_on_set, self);
		_tmp4_ = self->priv->_anchor_obj;
		g_object_weak_unref ((GObject*) _tmp4_, __soy_joints_hinge_anchor_weak_gweak_notify, self);
	}
	_tmp5_ = value;
	self->priv->_anchor_obj = _tmp5_;
	_tmp6_ = value;
	g_signal_connect_object (_tmp6_, "on-set", (GCallback) __soy_joints_hinge_anchor_set_soy_atoms_position_on_set, self, 0);
	_tmp7_ = value;
	g_object_weak_ref ((GObject*) _tmp7_, __soy_joints_hinge_anchor_weak_gweak_notify, self);
	g_object_notify ((GObject *) self, "anchor");
}
Exemplo n.º 2
0
void soy_joints_hinge_set_anchor (soyjointsHinge* self, soyatomsPosition* value) {
	soyatomsPosition* _tmp0_ = NULL;
	soyatomsPosition* _tmp1_ = NULL;
	soyatomsPosition* _tmp5_ = NULL;
	soyatomsPosition* _tmp6_ = NULL;
	soyatomsPosition* _tmp7_ = NULL;
#line 79 "/home/jeff/Documents/libraries/libsoy/src/joints/Hinge.gs"
	g_return_if_fail (self != NULL);
#line 80 "/home/jeff/Documents/libraries/libsoy/src/joints/Hinge.gs"
	_tmp0_ = value;
#line 80 "/home/jeff/Documents/libraries/libsoy/src/joints/Hinge.gs"
	_soy_joints_hinge_anchor_set (self, _tmp0_);
#line 81 "/home/jeff/Documents/libraries/libsoy/src/joints/Hinge.gs"
	_tmp1_ = self->priv->_anchor_obj;
#line 81 "/home/jeff/Documents/libraries/libsoy/src/joints/Hinge.gs"
	if (_tmp1_ != NULL) {
#line 682 "Hinge.c"
		soyatomsPosition* _tmp2_ = NULL;
		guint _tmp3_ = 0U;
		soyatomsPosition* _tmp4_ = NULL;
#line 82 "/home/jeff/Documents/libraries/libsoy/src/joints/Hinge.gs"
		_tmp2_ = self->priv->_anchor_obj;
#line 82 "/home/jeff/Documents/libraries/libsoy/src/joints/Hinge.gs"
		g_signal_parse_name ("on-set", SOY_ATOMS_TYPE_POSITION, &_tmp3_, NULL, FALSE);
#line 82 "/home/jeff/Documents/libraries/libsoy/src/joints/Hinge.gs"
		g_signal_handlers_disconnect_matched (_tmp2_, G_SIGNAL_MATCH_ID | G_SIGNAL_MATCH_FUNC | G_SIGNAL_MATCH_DATA, _tmp3_, 0, NULL, (GCallback) __soy_joints_hinge_anchor_set_soy_atoms_position_on_set, self);
#line 83 "/home/jeff/Documents/libraries/libsoy/src/joints/Hinge.gs"
		_tmp4_ = self->priv->_anchor_obj;
#line 83 "/home/jeff/Documents/libraries/libsoy/src/joints/Hinge.gs"
		g_object_weak_unref ((GObject*) _tmp4_, __soy_joints_hinge_anchor_weak_gweak_notify, self);
#line 696 "Hinge.c"
	}
#line 84 "/home/jeff/Documents/libraries/libsoy/src/joints/Hinge.gs"
	_tmp5_ = value;
#line 84 "/home/jeff/Documents/libraries/libsoy/src/joints/Hinge.gs"
	self->priv->_anchor_obj = _tmp5_;
#line 85 "/home/jeff/Documents/libraries/libsoy/src/joints/Hinge.gs"
	_tmp6_ = value;
#line 85 "/home/jeff/Documents/libraries/libsoy/src/joints/Hinge.gs"
	g_signal_connect_object (_tmp6_, "on-set", (GCallback) __soy_joints_hinge_anchor_set_soy_atoms_position_on_set, self, 0);
#line 86 "/home/jeff/Documents/libraries/libsoy/src/joints/Hinge.gs"
	_tmp7_ = value;
#line 86 "/home/jeff/Documents/libraries/libsoy/src/joints/Hinge.gs"
	g_object_weak_ref ((GObject*) _tmp7_, __soy_joints_hinge_anchor_weak_gweak_notify, self);
#line 79 "/home/jeff/Documents/libraries/libsoy/src/joints/Hinge.gs"
	g_object_notify ((GObject *) self, "anchor");
#line 712 "Hinge.c"
}
Exemplo n.º 3
0
static void __soy_joints_hinge_anchor_set_soy_atoms_position_on_set (soyatomsPosition* _sender, soyatomsPosition* position, gpointer self) {
	_soy_joints_hinge_anchor_set (self, position);
}
Exemplo n.º 4
0
static void __soy_joints_hinge_anchor_set_soy_atoms_position_on_set (soyatomsPosition* _sender, soyatomsPosition* position, gpointer self) {
#line 69 "/home/jeff/Documents/libraries/libsoy/src/joints/Hinge.gs"
	_soy_joints_hinge_anchor_set (self, position);
#line 462 "Hinge.c"
}