rem: g_message ("1");
context: on_eos_event (GtkWidget *widget, gpointer user_data){	Totem *totem = (Totem *) user_data;	gdk_threads_enter ();	g_message ("1");	if (!gtk_playlist_has_next_mrl (totem->playlist))	{		char *mrl;		long_action ();		g_message ("2");		/* Force play button status */		if (gtk_toggle_button_get_active				(GTK_TOGGLE_BUTTON(totem->pp_button)) == TRUE)			play_pause_toggle_disconnected (totem);		gtk_playlist_set_at_start (totem->playlist);		update_buttons (totem);		mrl = gtk_playlist_get_current_mrl (totem->playlist);		action_set_mrl (totem, mrl);		long_action ();		action_play_pause (totem);		g_free (mrl);	} else {		g_message ("3");		action_next (totem);	}	gdk_threads_leave ();	return FALSE;}