Added an important comment

This commit is contained in:
Pierre Pronchery 2010-05-20 21:52:35 +00:00
parent dab93f9183
commit 507bc7a230

View File

@ -137,6 +137,7 @@ static int _profiles_event(PhonePlugin * plugin, PhoneEvent event, ...)
PhonePluginHelper * helper = plugin->helper; PhonePluginHelper * helper = plugin->helper;
if(profiles->event == (int)event) if(profiles->event == (int)event)
/* FIXME this should probably only apply to phone calls */
return 0; /* already taking care of it */ return 0; /* already taking care of it */
if(profiles->source != 0) if(profiles->source != 0)
g_source_remove(profiles->source); g_source_remove(profiles->source);