Lines Matching refs:source
326 * Gets the source tag for the #GSimpleAsyncResult.
328 * Returns: a #gpointer to the source object for the #GSimpleAsyncResult.
592 GSource *source;
599 source = g_idle_source_new ();
600 g_source_set_priority (source, G_PRIORITY_DEFAULT);
601 g_source_set_callback (source, complete_in_idle_cb, simple, g_object_unref);
603 id = g_source_attach (source, NULL);
604 g_source_unref (source);
646 GSource *source;
660 source = g_idle_source_new ();
661 g_source_set_priority (source, G_PRIORITY_DEFAULT);
662 g_source_set_callback (source, complete_in_idle_cb_for_thread, data, NULL);
664 id = g_source_attach (source, NULL);
665 g_source_unref (source);
702 * @source: the #GObject passed to the _finish function.
709 * #GSimpleAsyncResult. Second, @source is checked to ensure that it
710 * matches the source object of @result. Third, @source_tag is
720 GObject *source,
731 if (cmp_source != source)