Lines Matching full:nqueue
61 GObjectNotifyQueue *nqueue = data;
63 g_slist_free (nqueue->pspecs);
64 g_list_free_1 ((void*) nqueue);
71 GObjectNotifyQueue *nqueue;
73 nqueue = g_datalist_id_get_data (&object->qdata, context->quark_notify_queue);
74 if (!nqueue)
76 nqueue = (void*) g_list_alloc ();
77 memset (nqueue, 0, sizeof (*nqueue));
78 nqueue->context = context;
80 nqueue, g_object_notify_queue_free);
83 g_return_val_if_fail (nqueue->freeze_count < 65535, nqueue);
84 nqueue->freeze_count++;
86 return nqueue;
91 GObjectNotifyQueue *nqueue)
93 GObjectNotifyContext *context = nqueue->context;
98 g_return_if_fail (nqueue->freeze_count > 0);
100 nqueue->freeze_count--;
101 if (nqueue->freeze_count)
105 pspecs = nqueue->n_pspecs > 16 ? free_me = g_new (GParamSpec*, nqueue->n_pspecs) : pspecs_mem;
108 for (slist = nqueue->pspecs; slist; slist = slist->next)
131 GObjectNotifyQueue *nqueue)
133 g_return_if_fail (nqueue->freeze_count > 0);
135 g_slist_free (nqueue->pspecs);
136 nqueue->pspecs = NULL;
137 nqueue->n_pspecs = 0;
142 GObjectNotifyQueue *nqueue,
149 g_return_if_fail (nqueue->n_pspecs < 65535);
156 nqueue->pspecs = g_slist_prepend (nqueue->pspecs, pspec);
157 nqueue->n_pspecs++;