Lines Matching defs:obj
82 static void setIdNull( SPObject* obj ) {
83 if (obj) {
84 obj->id = 0;
91 static void setId( SPObject* obj, gchar const* id ) {
92 if (obj && (id != obj->id) ) {
93 if (obj->id) {
94 g_free(obj->id);
95 obj->id = 0;
98 obj->id = g_strdup(id);
323 static SPObject const *AncestorSon(SPObject const *obj, SPObject const *ancestor) {
325 if ( obj && ancestor ) {
326 if (obj->parent == ancestor) {
327 result = obj;
329 result = AncestorSon(obj->parent, ancestor);
833 for ( SPObject *obj = parent->firstChild(); obj && !prev; obj = obj->getNext() ) {
834 if (obj->getNext() == this) {
835 prev = obj;