static gboolean hcp_monitor_reread_desktop_entries (HCPAppList *al) { callback_pending = 0; /* Re-read the item list from .desktop files */ hcp_app_list_update (al); g_signal_emit (G_OBJECT (al), signals[SIGNAL_UPDATED], 0, NULL); return FALSE; }
static void hcp_program_init (HCPProgram *program) { program->execute = 0; program->al = (HCPAppList *) hcp_app_list_new (); hcp_app_list_update (program->al); hcp_program_init_rpc (program); osso_hw_set_event_cb (program->osso, NULL, (osso_hw_cb_f *) hcp_program_hw_signal_cb, program); }