rem: argv[0] = (char *) totem->argv0; argv[1] = NULL;
add: i = 0; current = g_strdup_printf ("%d", totem_playlist_get_current (totem->playlist)); seek = g_strdup_printf ("%"G_GINT64_FORMAT, bacon_video_widget_get_current_time (totem->bvw)); argv[i++] = (char *) totem->argv0; argv[i++] = "--playlist-idx"; argv[i++] = current; argv[i++] = "--seek"; argv[i++] = seek; argv[i++] = path_id;
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;}