rem: prefix = gnome_client_get_config_prefix (client); g_message ("prefix %s real_path %s", prefix, gnome_config_get_real_path (prefix)); argv[2] = gnome_config_get_real_path (prefix); gnome_client_set_discard_command (client, 3, argv);
add: argv[i++] = "rm"; argv[i++] = "-f"; argv[i++] = path_id; gnome_client_set_discard_command (client, i, argv);
context: totem_save_yourself_cb (GnomeClient *client, int phase, GnomeSaveStyle style,		gboolean shutting_down, GnomeInteractStyle interact_style,		gboolean fast, Totem *totem){	char *argv[] = { "rm", "-r", NULL };	const char *prefix;	gboolean succeeded = TRUE;	/* How to discard the save */	prefix = gnome_client_get_config_prefix (client);	g_message ("prefix %s real_path %s", prefix, gnome_config_get_real_path (prefix));	argv[2] = gnome_config_get_real_path (prefix);	gnome_client_set_discard_command (client, 3, argv);	/* How to clone or restart */	argv[0] = (char *) totem->argv0;	argv[1] = NULL;	gnome_client_set_clone_command (client, 1, argv);	gnome_client_set_restart_command (client, 1, argv);	return succeeded;}