Lines Matching defs:nqueue
265 GObjectNotifyQueue *nqueue = data;
267 g_slist_free (nqueue->pspecs);
268 g_slice_free (GObjectNotifyQueue, nqueue);
275 GObjectNotifyQueue *nqueue;
278 nqueue = g_datalist_id_get_data (&object->qdata, quark_notify_queue);
279 if (!nqueue)
287 nqueue = g_slice_new0 (GObjectNotifyQueue);
289 nqueue, g_object_notify_queue_free);
292 if (nqueue->freeze_count >= 65535)
298 nqueue->freeze_count++;
301 return nqueue;
306 GObjectNotifyQueue *nqueue)
317 if (G_UNLIKELY(nqueue->freeze_count == 0)) {
324 nqueue->freeze_count--;
325 if (nqueue->freeze_count) {
330 pspecs = nqueue->n_pspecs > 16 ? free_me = g_new (GParamSpec*, nqueue->n_pspecs) : pspecs_mem;
332 for (slist = nqueue->pspecs; slist; slist = slist->next)
347 GObjectNotifyQueue *nqueue,
352 g_assert (nqueue->n_pspecs < 65535);
354 if (g_slist_find (nqueue->pspecs, pspec) == NULL)
356 nqueue->pspecs = g_slist_prepend (nqueue->pspecs, pspec);
357 nqueue->n_pspecs++;
1286 GObjectNotifyQueue *nqueue;
1289 nqueue = g_object_notify_queue_freeze (object, TRUE);
1291 if (nqueue != NULL)
1294 g_object_notify_queue_add (object, nqueue, notify_pspec);
1295 g_object_notify_queue_thaw (object, nqueue);
1430 GObjectNotifyQueue *nqueue;
1441 nqueue = g_object_notify_queue_freeze (object, FALSE);
1442 g_object_notify_queue_thaw (object, nqueue);
1443 g_object_notify_queue_thaw (object, nqueue);
1527 GObjectNotifyQueue *nqueue)
1574 g_object_notify_queue_add (object, nqueue, notify_pspec);
1793 GObjectNotifyQueue *nqueue = NULL;
1900 nqueue = g_object_notify_queue_freeze (object, FALSE);
1906 g_object_notify_queue_thaw (object, nqueue);
1918 object_set_property (object, params[i].pspec, params[i].value, nqueue);
1921 /* If nqueue is non-NULL then we are frozen. Thaw it. */
1922 if (nqueue)
1923 g_object_notify_queue_thaw (object, nqueue);
1933 GObjectNotifyQueue *nqueue = NULL;
1946 nqueue = g_datalist_id_get_data (&object->qdata, quark_notify_queue);
1947 g_assert (nqueue != NULL);
1973 object_set_property (object, pspec, value, nqueue);
1981 if (nqueue)
1993 object_set_property (object, params[i].pspec, params[i].value, nqueue);
1996 g_object_notify_queue_thaw (object, nqueue);
2316 GObjectNotifyQueue *nqueue = g_object_notify_queue_freeze (object, FALSE);
2325 object_set_property (object, pspec, value, nqueue);
2327 g_object_notify_queue_thaw (object, nqueue);
2390 GObjectNotifyQueue *nqueue;
2401 nqueue = g_object_notify_queue_freeze (object, FALSE);
2410 object_set_property (object, pspec, &values[i], nqueue);
2413 g_object_notify_queue_thaw (object, nqueue);
2431 GObjectNotifyQueue *nqueue;
2437 nqueue = g_object_notify_queue_freeze (object, FALSE);
2465 object_set_property (object, pspec, &value, nqueue);
2471 g_object_notify_queue_thaw (object, nqueue);