Searched refs:old_ref (Results 1 – 1 of 1) sorted by relevance
2367 gint old_ref; in g_object_unref() local2380 old_ref = g_atomic_int_get (&object->ref_count); in g_object_unref()2381 if (old_ref > 1) in g_object_unref()2383 if (!g_atomic_int_compare_and_exchange ((int *)&object->ref_count, old_ref, old_ref - 1)) in g_object_unref()2387 if (old_ref == 2 && OBJECT_HAS_TOGGLE_REF (object)) in g_object_unref()2397 old_ref = g_atomic_int_get ((int *)&object->ref_count); in g_object_unref()2398 if (old_ref > 1) in g_object_unref()2400 if (!g_atomic_int_compare_and_exchange ((int *)&object->ref_count, old_ref, old_ref - 1)) in g_object_unref()2404 if (old_ref == 2 && OBJECT_HAS_TOGGLE_REF (object)) in g_object_unref()