notify: Remove g_object_notify_queue_from_object()

The function will not be safe with object locking in place, so we remove
it. The workaround is somewhat ugly, but it works.

https://bugzilla.gnome.org/show_bug.cgi?id=166020
This commit is contained in:
Olivier Crête
2010-07-22 21:20:35 +02:00
committed by Benjamin Otte
parent 83026092eb
commit 65797f7e54
2 changed files with 8 additions and 13 deletions

View File

@@ -155,13 +155,6 @@ g_object_notify_queue_add (GObject *object,
}
}
static inline GObjectNotifyQueue*
g_object_notify_queue_from_object (GObject *object,
GObjectNotifyContext *context)
{
return g_datalist_id_get_data (&object->qdata, context->quark_notify_queue);
}
G_END_DECLS