Example #1
0
static void reminder_remove_pin(char *ID){
   RoadMapDynamicString GUI_ID_REMINDER = roadmap_string_new(ID);

   roadmap_object_remove(GUI_ID_REMINDER);

   roadmap_string_release(GUI_ID_REMINDER);
}
Example #2
0
static int onBonusDelete (RTBonus *pApdon) {
   RoadMapDynamicString GUI_ID = roadmap_string_new (pApdon->sGUIID);
   if ((!pApdon->bIsCustomeBonus || pApdon->displayed) && roadmap_map_settings_road_goodies())
   roadmap_object_remove (GUI_ID);
   return TRUE;
}