Example #1
0
void
gconf_defaults_set_mandatory_value (GConfDefaults         *mechanism,
                                    const char            *path,
                                    const char            *value,
                                    DBusGMethodInvocation *context)
{
	do_set_value (mechanism, TRUE, path, value, context, NULL);
}
Example #2
0
void
gconf_defaults_set_system_value (GConfDefaults         *mechanism,
                                 const char            *path,
                                 const char            *value,
                                 DBusGMethodInvocation *context)
{
	GConfChangeSet *changes = NULL;

	do_set_value (mechanism, FALSE, path, value, context, &changes);

        emit_system_set_signal (mechanism, changes);
	gconf_change_set_unref (changes);
}
Example #3
0
static void do_insert(struct Trans_arg &trans_arg, NdbEventOperation *pOp)
{
  if (!trans_arg.trans)
    return;

  NdbOperation *op =
    trans_arg.trans->getNdbOperation(pOp->getEvent()->getTableName());
  op->writeTuple();

  do_equal(op, pOp);
  do_set_value(op, pOp);

  trans_arg.bytes_batched++;
  if (trans_arg.bytes_batched > BATCH_SIZE)
  {
    trans_arg.trans->execute(NdbTransaction::NoCommit);
    trans_arg.bytes_batched = 0; 
  }
}