static void gsslrtma_updated_cb(GncSxInstanceModel *instances, SchedXaction *updated_sx, gpointer user_data) { GncSxSlrTreeModelAdapter *model = GNC_SX_SLR_TREE_MODEL_ADAPTER(user_data); gnc_sx_instance_model_update_sx_instances(instances, updated_sx); gsslrtma_populate_tree_store(model); }
static void gsltma_updated_cb(GncSxInstanceModel *instances, SchedXaction *sx_updated, gpointer user_data) { GncSxListTreeModelAdapter *model = GNC_SX_LIST_TREE_MODEL_ADAPTER(user_data); gnc_sx_instance_model_update_sx_instances(instances, sx_updated); gtk_tree_store_clear(model->orig); gsltma_populate_tree_store(model); }
static void gsidca_instances_updated_cb(GncSxInstanceModel *model, SchedXaction *sx_updated, gpointer user_data) { GncSxInstanceDenseCalAdapter *adapter = GNC_SX_INSTANCE_DENSE_CAL_ADAPTER(user_data); gnc_sx_instance_model_update_sx_instances(model, sx_updated); g_debug("instances updated\n"); if (xaccSchedXactionGetEnabled(sx_updated)) { g_signal_emit_by_name(adapter, "update", GPOINTER_TO_UINT((gpointer)sx_updated)); } else { g_signal_emit_by_name(adapter, "removing", GPOINTER_TO_UINT((gpointer)sx_updated)); } }