1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2024-12-24 08:43:27 +00:00

(trunk gtk) #4366 -- wrap register_magnet_link_handler()'s body in #if HAVE_GIO ... #endif

This commit is contained in:
Jordan Lee 2011-07-20 23:33:38 +00:00
parent e495a579d3
commit 1bf6b884b5

View file

@ -357,6 +357,7 @@ static gboolean update_model( gpointer gdata );
static void
register_magnet_link_handler( void )
{
#ifdef HAVE_GIO
GAppInfo * app_info = g_app_info_get_default_for_uri_scheme( "magnet" );
if( app_info == NULL )
{
@ -370,6 +371,7 @@ register_magnet_link_handler( void )
g_clear_error( &error );
}
}
#endif
}
static void