Commit 852d11d9 authored by Pekka Pessi's avatar Pekka Pessi

su-glib: added su_glib_prefer_gsource().

darcs-hash:20070202180735-65a35-f60732398fd8c58884d9e287dcf2ac00f7c78414.gz
parent 264bde1b
......@@ -43,6 +43,7 @@ SOFIA_BEGIN_DECLS
SOFIAPUBFUN su_root_t *su_glib_root_create(su_root_magic_t *) __attribute__((__malloc__));
SOFIAPUBFUN GSource *su_glib_root_gsource(su_root_t *);
SOFIAPUBFUN void su_glib_prefer_gsource(void);
SOFIA_END_DECLS
......
......@@ -1053,3 +1053,13 @@ static su_port_t *su_source_port_create(void)
}
/* No su_source_port_start */
/** Use su_source implementation when su_root_create() is called.
*
* @NEW_1_12_5
*/
void su_glib_prefer_gsource(void)
{
su_port_prefer(su_source_port_create, NULL);
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment