Lines Matching full:source_object
119 GObject *source_object;
154 if (simple->source_object)
155 g_object_unref (simple->source_object);
182 * @source_object: a #GObject the asynchronous function was called with,
193 g_simple_async_result_new (GObject *source_object,
200 g_return_val_if_fail (!source_object || G_IS_OBJECT (source_object), NULL);
204 if (source_object)
205 simple->source_object = g_object_ref (source_object);
207 simple->source_object = NULL;
216 * @source_object: a #GObject, or %NULL.
226 g_simple_async_result_new_from_error (GObject *source_object,
233 g_return_val_if_fail (!source_object || G_IS_OBJECT (source_object), NULL);
235 simple = g_simple_async_result_new (source_object,
245 * @source_object: a #GObject, or %NULL.
258 g_simple_async_result_new_error (GObject *source_object,
269 g_return_val_if_fail (!source_object || G_IS_OBJECT (source_object), NULL);
273 simple = g_simple_async_result_new (source_object,
294 if (G_SIMPLE_ASYNC_RESULT (res)->source_object)
295 return g_object_ref (G_SIMPLE_ASYNC_RESULT (res)->source_object);
567 simple->callback (simple->source_object,
657 simple->source_object,